cvs: phpdoc-fr /reference/tidy/functions ob-tidyhandler.xml tidy-access-count.xml tidy-clean-repair.xml tidy-config-count.xml tidy-diagnose.xml
tidy-error-count.xml tidy-get-body.xml tidy-get-config.xml tidy-get-error-buffer.xml tidy-get-head.xml tidy-get-html-ver.xml tidy-get-html.xml
tidy-get-opt-doc.xml tidy-get-output.xml tidy-get-release.xml tidy-get-root.xml tidy-get-status.xml tidy-getopt.xml tidy-is-xhtml.xml tidy-is-xml.xml
tidy-load-config.xml tidy-node-get-attr.xml tidy-node-get-nodes.xml tidy-node-next.xml tidy-node-prev.xml tidy-parse-file.xml tidy-repair-file.xml
tidy-repair-string.xml tidy-reset-config.xml tidy-save-config.xml tidy-set-encoding.xml tidy-setopt.xml tidy-warning-count.xml
tidyNode-hasChildren.xml tidyNode-hasSiblings.xml tidyNode-isAsp.xml tidyNode-isComment.xml tidyNode-isHtml.xml tidyNode-isJste.xml
tidyNode-isText.xml

From: Date: Sun, 01 Jun 2008 15:57:28 +0000
Subject: cvs: phpdoc-fr /reference/tidy/functions ob-tidyhandler.xml tidy-access-count.xml tidy-clean-repair.xml tidy-config-count.xml tidy-diagnose.xml
tidy-error-count.xml tidy-get-body.xml tidy-get-config.xml tidy-get-error-buffer.xml tidy-get-head.xml tidy-get-html-ver.xml tidy-get-html.xml
tidy-get-opt-doc.xml tidy-get-output.xml tidy-get-release.xml tidy-get-root.xml tidy-get-status.xml tidy-getopt.xml tidy-is-xhtml.xml tidy-is-xml.xml
tidy-load-config.xml tidy-node-get-attr.xml tidy-node-get-nodes.xml tidy-node-next.xml tidy-node-prev.xml tidy-parse-file.xml tidy-repair-file.xml
tidy-repair-string.xml tidy-reset-config.xml tidy-save-config.xml tidy-set-encoding.xml tidy-setopt.xml tidy-warning-count.xml
tidyNode-hasChildren.xml tidyNode-hasSiblings.xml tidyNode-isAsp.xml tidyNode-isComment.xml tidyNode-isHtml.xml tidyNode-isJste.xml
tidyNode-isText.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5955@lists.php.net to get a copy of this message
yannick Sun Jun 1 15:57:28 2008 UTC Modified files: /phpdoc-fr/reference/tidy/functions ob-tidyhandler.xml tidy-access-count.xml tidy-clean-repair.xml tidy-config-count.xml tidy-diagnose.xml tidy-error-count.xml tidy-get-body.xml tidy-get-config.xml tidy-get-error-buffer.xml tidy-get-head.xml tidy-get-html-ver.xml tidy-get-html.xml tidy-get-opt-doc.xml tidy-getopt.xml tidy-get-output.xml tidy-get-release.xml tidy-get-root.xml tidy-get-status.xml tidy-is-xhtml.xml tidy-is-xml.xml tidy-load-config.xml tidy-node-get-attr.xml tidy-node-get-nodes.xml tidyNode-hasChildren.xml tidyNode-hasSiblings.xml tidyNode-isAsp.xml tidyNode-isComment.xml tidyNode-isHtml.xml tidyNode-isJste.xml tidyNode-isText.xml tidy-node-next.xml tidy-node-prev.xml tidy-parse-file.xml tidy-repair-file.xml tidy-repair-string.xml tidy-reset-config.xml tidy-save-config.xml tidy-set-encoding.xml tidy-setopt.xml tidy-warning-count.xml Log: syn with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/ob-tidyhandler.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/tidy/functions/ob-tidyhandler.xml diff -u phpdoc-fr/reference/tidy/functions/ob-tidyhandler.xml:1.12 phpdoc-fr/reference/tidy/functions/ob-tidyhandler.xml:1.13 --- phpdoc-fr/reference/tidy/functions/ob-tidyhandler.xml:1.12 Fri May 30 11:27:26 2008 +++ phpdoc-fr/reference/tidy/functions/ob-tidyhandler.xml Sun Jun 1 15:57:28 2008 @@ -1,30 +1,61 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.2 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.ob-tidyhandler" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>ob_tidyhandler</refname> - <refpurpose> - Fonction de rappel ob_start pour réparer le buffer - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>ob_tidyhandler</methodname> - <methodparam><type>string</type><parameter>input</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ob_tidyhandler</function> est prévue pour être utilisée en tant - que fonction de rappel avec <function>ob_start</function> afin - de réparer le buffer. - </para> - <para> - <example> - <title>Exemple avec <function>ob_tidyhandler</function></title> - <programlisting role="php"> + <refnamediv> + <refname>ob_tidyhandler</refname> + <refpurpose>Fonction de rappel ob_start pour réparer le buffer</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>ob_tidyhandler</methodname> + <methodparam><type>string</type><parameter>input</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <para> + <function>ob_tidyhandler</function> est prévue pour être utilisée en tant + que fonction de rappel avec <function>ob_start</function> afin + de réparer le buffer. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>input</parameter></term> + <listitem> + <para> + Le buffer. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>mode</parameter></term> + <listitem> + <para> + Le mode du buffer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le buffer modifié. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>ob_tidyhandler</function></title> + <programlisting role="php"> <![CDATA[ <?php ob_start('ob_tidyhandler'); @@ -32,9 +63,9 @@ echo '<p>test</i>'; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> @@ -46,15 +77,19 @@ </body> </html> ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>ob_start</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ob_start</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-access-count.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-access-count.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-access-count.xml:1.12 phpdoc-fr/reference/tidy/functions/tidy-access-count.xml:1.13 --- phpdoc-fr/reference/tidy/functions/tidy-access-count.xml:1.12 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-access-count.xml Sun Jun 1 15:57:28 2008 @@ -1,38 +1,51 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-access-count" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_access_count</refname> - <refpurpose> - Retourne le nombre d'alertes d'accessibilité Tidy - rencontrées dans le document - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>tidy_access_count</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_access_count</function> retourne le nombre d'alertes d'accessibilité - trouvées dans le document spécifié. - </para> - <note> - <para> - Du fait du comportement de la TidyLib, vous devez appeler - <function>tidy_diagnose</function> avant - <function>tidy_access_count</function> sinon la fonction retournera - toujours &zero;. Vous devez également activer l'option - <literal>accessibility-check</literal>. - </para> - </note> - <para> - <example> - <title>Exemple avec <function>tidy_access_count</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_access_count</refname> + <refpurpose>Retourne le nombre d'alertes d'accessibilité Tidy rencontrées dans le document</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>tidy_access_count</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_access_count</function> retourne le nombre d'alertes d'accessibilité + trouvées dans le document spécifié. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + L'objet Tidy. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le nombre d'alertes. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>tidy_access_count</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -45,7 +58,7 @@ </body></html>'; -// sélectionner le degrès d'accessibilité : 1, 2 or 3 +// sélectionne le degrès d'accessibilité : 1, 2 or 3 $config = array('accessibility-check' => 3); $tidy = new tidy(); @@ -59,16 +72,32 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>tidy_error_count</function> et - <function>tidy_warning_count</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Du fait du comportement de la TidyLib, vous devez appeler + <function>tidy_diagnose</function> avant + <function>tidy_access_count</function> sinon la fonction retournera + toujours &zero;. Vous devez également activer l'option + <literal>accessibility-check</literal>. + </para> + </note> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>tidy_error_count</function></member> + <member><function>tidy_warning_count</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml:1.15 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml Sun Jun 1 15:57:28 2008 @@ -1,35 +1,36 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-clean-repair" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_clean_repair</refname> - <refpurpose> - Effectue les opérations de nettoyage et de réparation - préparées pour un fichier HTML - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy_clean_repair</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy->cleanRepair</methodname> - <void /> - </methodsynopsis> - <para> - Cette fonction nettoie et répare l'objet <parameter>object</parameter> Tidy - passé en argument. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_clean_repair</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_clean_repair</refname> + <refpurpose> + Effectue les opérations de nettoyage et de réparation + préparées pour un fichier HTML + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy_clean_repair</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy->cleanRepair</methodname> + <void /> + </methodsynopsis> + <para> + Cette fonction nettoie et répare l'objet <parameter>object</parameter> Tidy + passé en argument. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_clean_repair</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>test</I>'; @@ -40,30 +41,30 @@ echo $tidy; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> -<head> -<title></title> -</head> -<body> -<p>test</p> -</body> + <head> + <title></title> + </head> + <body> + <p>test</p> + </body> </html> ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>tidy_repair_file</function> et - <function>tidy_repair_string</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + <para> + Voir aussi + <function>tidy_repair_file</function> et + <function>tidy_repair_string</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-config-count.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-config-count.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-config-count.xml:1.11 phpdoc-fr/reference/tidy/functions/tidy-config-count.xml:1.12 --- phpdoc-fr/reference/tidy/functions/tidy-config-count.xml:1.11 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-config-count.xml Sun Jun 1 15:57:28 2008 @@ -1,30 +1,31 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-config-count" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_config_count</refname> - <refpurpose> - Retourne le nombre d'erreurs de configuration Tidy - rencontrées dans le document - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>tidy_config_count</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_config_count</function> retourne le nombre d'erreurs - rencontrées dans la configuration de l'objet <parameter>object</parameter> - Tidy spécifié. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_config_count</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_config_count</refname> + <refpurpose> + Retourne le nombre d'erreurs de configuration Tidy + rencontrées dans le document + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>tidy_config_count</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_config_count</function> retourne le nombre d'erreurs + rencontrées dans la configuration de l'objet <parameter>object</parameter> + Tidy spécifié. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_config_count</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>test</I>'; @@ -37,11 +38,11 @@ echo tidy_config_count($tidy); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml:1.14 phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml:1.14 Mon May 5 20:59:16 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml Sun Jun 1 15:57:28 2008 @@ -1,42 +1,43 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-diagnose" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_diagnose</refname> - <refpurpose>Établit le diagnostic pour le document analysé et réparé</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy_diagnose</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy->diagnose</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_diagnose</function> lance un diagnostic sur l'objet - <parameter>object</parameter> Tidy donné, en ajoutant quelques informations - concernant le document dans la pile d'erreurs. - </para> - <para> - &return.success; - </para> - <para> - <example> - <title>Exemple avec <function>tidy_diagnose</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_diagnose</refname> + <refpurpose>Établit le diagnostic pour le document analysé et réparé</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy_diagnose</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy->diagnose</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_diagnose</function> lance un diagnostic sur l'objet + <parameter>object</parameter> Tidy donné, en ajoutant quelques informations + concernant le document dans la pile d'erreurs. + </para> + <para> + &return.success; + </para> + <para> + <example> + <title>Exemple avec <function>tidy_diagnose</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = <<< HTML -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" -"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <p>paragraph</p> HTML; @@ -52,9 +53,9 @@ ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ line 5 column 1 - Warning: <p> isn't allowed in <head> elements line 5 column 1 - Warning: inserting missing 'title' element @@ -65,15 +66,15 @@ Info: Document content looks like XHTML 1.0 Strict 2 warnings, 0 errors were found! ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>tidy_get_error_buffer</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + <para> + Voir aussi + <function>tidy_get_error_buffer</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-error-count.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-error-count.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-error-count.xml:1.14 phpdoc-fr/reference/tidy/functions/tidy-error-count.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-error-count.xml:1.14 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-error-count.xml Sun Jun 1 15:57:28 2008 @@ -1,29 +1,30 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.tidy-error-count" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_error_count</refname> - <refpurpose> - Retourne le nombre d'erreurs Tidy rencontrées dans - le document - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>tidy_error_count</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_error_count</function> retourne le nombre d'erreurs - Tidy rencontrées dans le document spécifié. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_error_count</function></title> - <programlisting role="php"> + +<refentry xml:id="function.tidy-error-count" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_error_count</refname> + <refpurpose> + Retourne le nombre d'erreurs Tidy rencontrées dans + le document + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>tidy_error_count</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_error_count</function> retourne le nombre d'erreurs + Tidy rencontrées dans le document spécifié. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_error_count</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>test</i> @@ -36,11 +37,11 @@ echo $tidy->errorBuffer; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ -1 + 1 line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 1 column 8 - Warning: discarding unexpected </i> line 2 column 1 - Error: <bogustag> is not recognized! @@ -48,16 +49,16 @@ line 2 column 16 - Warning: discarding unexpected </bogustag> line 1 column 1 - Warning: inserting missing 'title' element ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>tidy_access_count</function> et - <function>tidy_warning_count</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + <para> + Voir aussi + <function>tidy_access_count</function> et + <function>tidy_warning_count</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-body.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-body.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-body.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-get-body.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-get-body.xml:1.15 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-body.xml Sun Jun 1 15:57:28 2008 @@ -1,35 +1,36 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.tidy-get-body" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_body</refname> - <refpurpose> - Retourne un objet TidyNode, commencé à partir de la balise - &lt;body&gt; - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy_get_body</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy->body</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_body</function> retourne un objet TidyNode commençant - à partir de la balise &lt;body&gt;. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_body</function></title> - <programlisting role="php"> + +<refentry xml:id="function.tidy-get-body" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_get_body</refname> + <refpurpose> + Retourne un objet TidyNode, commencé à partir de la balise + &lt;body&gt; + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy_get_body</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy->body</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_body</function> retourne un objet TidyNode commençant + à partir de la balise &lt;body&gt;. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_get_body</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = ' @@ -48,25 +49,25 @@ echo $body->value; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <body> <p>paragraph</p> </body> ]]> - </screen> - </example> - </para> - &note.tidy.ze2; - <para> - Voir aussi - <function>tidy_get_head</function> et - <function>tidy_get_html</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + &note.tidy.ze2; + <para> + Voir aussi + <function>tidy_get_head</function> et + <function>tidy_get_html</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-config.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-config.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-config.xml:1.13 phpdoc-fr/reference/tidy/functions/tidy-get-config.xml:1.14 --- phpdoc-fr/reference/tidy/functions/tidy-get-config.xml:1.13 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-config.xml Sun Jun 1 15:57:28 2008 @@ -1,151 +1,152 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.6 Maintainer: dams Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.tidy-get-config" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>tidy_get_config</refname> - <refpurpose> - Lit la configuration Tidy courante - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>array</type><methodname>tidy_get_config</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>array</type><methodname>tidy->getConfig</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_config</function> retourne un tableau avec les - options de configuration utilisées par l'objet <parameter>object</parameter> Tidy - spécifié. - </para> - <para> - Pour une explication de chaque option, voyez <link - xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_config</function></title> - <programlisting role="php"> + +<refentry xml:id="function.tidy-get-config" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>tidy_get_config</refname> + <refpurpose> + Lit la configuration Tidy courante + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>array</type><methodname>tidy_get_config</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>array</type><methodname>tidy->getConfig</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_config</function> retourne un tableau avec les + options de configuration utilisées par l'objet <parameter>object</parameter> Tidy + spécifié. + </para> + <para> + Pour une explication de chaque option, voyez <link + xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_get_config</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>test</p>'; $config = array('indent' => TRUE, - 'output-xhtml' => TRUE, - 'wrap', 200); +'output-xhtml' => TRUE, +'wrap', 200); $tidy = tidy_parse_string($html, $config); print_r(tidy_get_config($tidy)); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ Array ( - [indent-spaces] => 2 - [wrap] => 200 - [tab-size] => 8 - [char-encoding] => 1 - [input-encoding] => 3 - [output-encoding] => 1 - [newline] => 1 - [doctype-mode] => 1 - [doctype] => - [repeated-attributes] => 1 - [alt-text] => - [slide-style] => - [error-file] => - [output-file] => - [write-back] => - [markup] => 1 - [show-warnings] => 1 - [quiet] => - [indent] => 1 - [hide-endtags] => - [input-xml] => - [output-xml] => 1 - [output-xhtml] => 1 - [output-html] => - [add-xml-decl] => - [uppercase-tags] => - [uppercase-attributes] => - [bare] => - [clean] => - [logical-emphasis] => - [drop-proprietary-attributes] => - [drop-font-tags] => - [drop-empty-paras] => 1 - [fix-bad-comments] => 1 - [break-before-br] => - [split] => - [numeric-entities] => - [quote-marks] => - [quote-nbsp] => 1 - [quote-ampersand] => 1 - [wrap-attributes] => - [wrap-script-literals] => - [wrap-sections] => 1 - [wrap-asp] => 1 - [wrap-jste] => 1 - [wrap-php] => 1 - [fix-backslash] => 1 - [indent-attributes] => - [assume-xml-procins] => - [add-xml-space] => - [enclose-text] => - [enclose-block-text] => - [keep-time] => - [word-2000] => - [tidy-mark] => - [gnu-emacs] => - [gnu-emacs-file] => - [literal-attributes] => - [show-body-only] => - [fix-uri] => 1 - [lower-literals] => 1 - [hide-comments] => - [indent-cdata] => - [force-output] => 1 - [show-errors] => 6 - [ascii-chars] => 1 - [join-classes] => - [join-styles] => 1 - [escape-cdata] => - [language] => - [ncr] => 1 - [output-bom] => 2 - [replace-color] => - [css-prefix] => - [new-inline-tags] => - [new-blocklevel-tags] => - [new-empty-tags] => - [new-pre-tags] => - [accessibility-check] => 0 - [vertical-space] => - [punctuation-wrap] => - [merge-divs] => 1 + [indent-spaces] => 2 + [wrap] => 200 + [tab-size] => 8 + [char-encoding] => 1 + [input-encoding] => 3 + [output-encoding] => 1 + [newline] => 1 + [doctype-mode] => 1 + [doctype] => + [repeated-attributes] => 1 + [alt-text] => + [slide-style] => + [error-file] => + [output-file] => + [write-back] => + [markup] => 1 + [show-warnings] => 1 + [quiet] => + [indent] => 1 + [hide-endtags] => + [input-xml] => + [output-xml] => 1 + [output-xhtml] => 1 + [output-html] => + [add-xml-decl] => + [uppercase-tags] => + [uppercase-attributes] => + [bare] => + [clean] => + [logical-emphasis] => + [drop-proprietary-attributes] => + [drop-font-tags] => + [drop-empty-paras] => 1 + [fix-bad-comments] => 1 + [break-before-br] => + [split] => + [numeric-entities] => + [quote-marks] => + [quote-nbsp] => 1 + [quote-ampersand] => 1 + [wrap-attributes] => + [wrap-script-literals] => + [wrap-sections] => 1 + [wrap-asp] => 1 + [wrap-jste] => 1 + [wrap-php] => 1 + [fix-backslash] => 1 + [indent-attributes] => + [assume-xml-procins] => + [add-xml-space] => + [enclose-text] => + [enclose-block-text] => + [keep-time] => + [word-2000] => + [tidy-mark] => + [gnu-emacs] => + [gnu-emacs-file] => + [literal-attributes] => + [show-body-only] => + [fix-uri] => 1 + [lower-literals] => 1 + [hide-comments] => + [indent-cdata] => + [force-output] => 1 + [show-errors] => 6 + [ascii-chars] => 1 + [join-classes] => + [join-styles] => 1 + [escape-cdata] => + [language] => + [ncr] => 1 + [output-bom] => 2 + [replace-color] => + [css-prefix] => + [new-inline-tags] => + [new-blocklevel-tags] => + [new-empty-tags] => + [new-pre-tags] => + [accessibility-check] => 0 + [vertical-space] => + [punctuation-wrap] => + [merge-divs] => 1 ) ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>tidy_reset_config</function> et - <function>tidy_save_config</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + <para> + Voir aussi + <function>tidy_reset_config</function> et + <function>tidy_save_config</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.12 phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.13 --- phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.12 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml Sun Jun 1 15:57:28 2008 @@ -1,61 +1,62 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="function.tidy-get-error-buffer" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_error_buffer</refname> - <refpurpose> - Retourne les alertes et erreurs qui sont survenues lors - de l'analyse du document - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>string</type><methodname>tidy_get_error_buffer</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet (propriété) :</para> - <classsynopsis> - <ooclass><classname>tidy</classname></ooclass> - <fieldsynopsis><type>string</type><varname>errorBuffer</varname></fieldsynopsis> - </classsynopsis> - <para> - <function>tidy_get_error_buffer</function> retourne les erreurs et les - avertissements rencontrés lors de l'analyse du document spécifié. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_error_buffer</function></title> - <programlisting role="php"> + +<refentry xml:id="function.tidy-get-error-buffer" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_get_error_buffer</refname> + <refpurpose> + Retourne les alertes et erreurs qui sont survenues lors + de l'analyse du document + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>string</type><methodname>tidy_get_error_buffer</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet (propriété) :</para> + <classsynopsis> + <ooclass><classname>tidy</classname></ooclass> + <fieldsynopsis><type>string</type><varname>errorBuffer</varname></fieldsynopsis> + </classsynopsis> + <para> + <function>tidy_get_error_buffer</function> retourne les erreurs et les + avertissements rencontrés lors de l'analyse du document spécifié. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_get_error_buffer</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>paragraph</p>'; - + $tidy = tidy_parse_string($html); echo tidy_get_error_buffer($tidy); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 1 column 1 - Warning: inserting missing 'title' element ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>tidy_access_count</function>, - <function>tidy_error_count</function> et - <function>tidy_warning_count</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + <para> + Voir aussi + <function>tidy_access_count</function>, + <function>tidy_error_count</function> et + <function>tidy_warning_count</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-head.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-head.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-head.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-get-head.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-get-head.xml:1.15 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-head.xml Sun Jun 1 15:57:28 2008 @@ -1,34 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-head" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_head</refname> - <refpurpose> - Retourne un objet TidyNode à partir de la balise &lt;head&gt; - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy_get_head</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy->head</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_head</function> retourne un objet tidyNode à partir de - la balise &lt;head&gt;. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_head</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_get_head</refname> + <refpurpose> + Retourne un objet TidyNode à partir de la balise &lt;head&gt; + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy_get_head</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy->head</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_head</function> retourne un objet tidyNode à partir de + la balise &lt;head&gt;. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_get_head</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = ' @@ -47,25 +48,25 @@ echo $head->value; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <head> -<title>test</title> + <title>test</title> </head> ]]> - </screen> - </example> - </para> - &note.tidy.ze2; - <para> - Voir aussi - <function>tidy_get_body</function> et - <function>tidy_get_html</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + &note.tidy.ze2; + <para> + Voir aussi + <function>tidy_get_body</function> et + <function>tidy_get_html</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.19 phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.20 --- phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.19 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml Sun Jun 1 15:57:28 2008 @@ -1,39 +1,40 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-html-ver" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_html_ver</refname> - <refpurpose> - Détecte le version du code HTML utilisée dans un document - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>int</type><methodname>tidy_get_html_ver</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>int</type><methodname>tidy->getHtmlVer</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_html_ver</function> retourne la version détectée du code HTML - pour l'objet <parameter>object</parameter> Tidy spécifié. - </para> - <warning> - <para> - <function>tidy_get_html_ver</function> n'est pas encore implémentée - dans la bibliothèque Tidylib elle-même ; de ce fait, elle retournera toujours - &zero;. - </para> - </warning> - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_get_html_ver</refname> + <refpurpose> + Détecte le version du code HTML utilisée dans un document + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>int</type><methodname>tidy_get_html_ver</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>int</type><methodname>tidy->getHtmlVer</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_html_ver</function> retourne la version détectée du code HTML + pour l'objet <parameter>object</parameter> Tidy spécifié. + </para> + <warning> + <para> + <function>tidy_get_html_ver</function> n'est pas encore implémentée + dans la bibliothèque Tidylib elle-même ; de ce fait, elle retournera toujours + &zero;. + </para> + </warning> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-html.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-html.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-html.xml:1.17 phpdoc-fr/reference/tidy/functions/tidy-get-html.xml:1.18 --- phpdoc-fr/reference/tidy/functions/tidy-get-html.xml:1.17 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-html.xml Sun Jun 1 15:57:28 2008 @@ -1,34 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-html" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_html</refname> - <refpurpose> - Retourne un objet TidyNode commençant à la balise &lt;html&gt; - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy_get_html</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy->html</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_html</function> retourne un objet tidyNode commençant à - la balise &lt;html&gt;. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_html</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_get_html</refname> + <refpurpose> + Retourne un objet TidyNode commençant à la balise &lt;html&gt; + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy_get_html</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy->html</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_html</function> retourne un objet tidyNode commençant à + la balise &lt;html&gt;. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_get_html</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = ' @@ -47,9 +48,9 @@ echo $html->value; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <html> <head> @@ -60,17 +61,17 @@ </body> </html> ]]> - </screen> - </example> - </para> - &note.tidy.ze2; - <para> - Voir aussi - <function>tidy_get_body</function> et - <function>tidy_get_head</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + &note.tidy.ze2; + <para> + Voir aussi + <function>tidy_get_body</function> et + <function>tidy_get_head</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml:1.5 phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml:1.6 --- phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml:1.5 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-opt-doc" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidy_get_opt_doc</refname> @@ -9,7 +10,7 @@ Retourne la documentation pour le nom de l'option donnée </refpurpose> </refnamediv> - + <refsect1 role="description"> &reftitle.description; <para>Style procédural :</para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-getopt.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-getopt.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-getopt.xml:1.14 phpdoc-fr/reference/tidy/functions/tidy-getopt.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-getopt.xml:1.14 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-getopt.xml Sun Jun 1 15:57:28 2008 @@ -1,74 +1,75 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-getopt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>tidy_getopt</refname> - <refpurpose>Retourne la valeur de l'option de configuration Tidy</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>mixed</type><methodname>tidy_getopt</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - <methodparam><type>string</type><parameter>option</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>mixed</type><methodname>tidy->getOpt</methodname> - <methodparam><type>string</type><parameter>option</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_getopt</function> retourne la valeur de l'option spécifiée - <parameter>option</parameter> pour l'objet - <parameter>object</parameter>. Le type retourné dépend du - type de l'option spécifiée <parameter>option</parameter>. Vous pouvez trouver - une liste de chaque option de configuration ainsi que leur type à : - <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_getopt</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_getopt</refname> + <refpurpose>Retourne la valeur de l'option de configuration Tidy</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>mixed</type><methodname>tidy_getopt</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + <methodparam><type>string</type><parameter>option</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>mixed</type><methodname>tidy->getOpt</methodname> + <methodparam><type>string</type><parameter>option</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_getopt</function> retourne la valeur de l'option spécifiée + <parameter>option</parameter> pour l'objet + <parameter>object</parameter>. Le type retourné dépend du + type de l'option spécifiée <parameter>option</parameter>. Vous pouvez trouver + une liste de chaque option de configuration ainsi que leur type à : + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_getopt</function></title> + <programlisting role="php"> <![CDATA[ <?php $html ='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html><head><title>Title</title></head> -<body> + <body> -<p><img src="img.png"></p> + <p><img src="img.png"></p> -</body></html>'; + </body></html>'; -$config = array('accessibility-check' => 3, - 'alt-text' => 'du texte'); + $config = array('accessibility-check' => 3, + 'alt-text' => 'du texte'); -$tidy = new tidy(); -$tidy->parseString($html, $config); + $tidy = new tidy(); + $tidy->parseString($html, $config); -var_dump($tidy->getOpt('accessibility-check')); //integer -var_dump($tidy->getOpt('lower-literals')); //boolean -var_dump($tidy->getOpt('alt-text')); //string + var_dump($tidy->getOpt('accessibility-check')); //integer + var_dump($tidy->getOpt('lower-literals')); //boolean + var_dump($tidy->getOpt('alt-text')); //string -?> -]]> - </programlisting> - &example.outputs; - <screen> + ?> + ]]> + </programlisting> + &example.outputs; + <screen> <![CDATA[ int(3) bool(true) string(9) "some text" ]]> - </screen> - </example> - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-output.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-output.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-output.xml:1.11 phpdoc-fr/reference/tidy/functions/tidy-get-output.xml:1.12 --- phpdoc-fr/reference/tidy/functions/tidy-get-output.xml:1.11 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-get-output.xml Sun Jun 1 15:57:28 2008 @@ -1,42 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-output" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_output</refname> - <refpurpose> - Retourne une chaîne représentant les balises telles qu'analysées par Tidy - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>tidy_get_output</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_get_output</function> retourne une chaîne avec le HTML - réparé. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_output</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_get_output</refname> + <refpurpose>Retourne une chaîne représentant les balises telles qu'analysées par Tidy</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>tidy_get_output</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para> + Retourne une chaîne représentant les balises telles qu'analysées par Tidy. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + L'objet Tidy. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne les balises analysées par Tidy. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>tidy_get_output</function></title> + <programlisting role="php"> <![CDATA[ <?php - -$html = '<p>paragraphe</i>'; + +$html = '<p>paragraph</i>'; $tidy = tidy_parse_string($html); - + $tidy->CleanRepair(); echo tidy_get_output($tidy); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> @@ -44,15 +66,15 @@ <title></title> </head> <body> -<p>paragraphe</p> +<p>paragraph</p> </body> </html> ]]> - </screen> - </example> - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-release.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-release.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-release.xml:1.13 phpdoc-fr/reference/tidy/functions/tidy-get-release.xml:1.14 --- phpdoc-fr/reference/tidy/functions/tidy-get-release.xml:1.13 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-release.xml Sun Jun 1 15:57:28 2008 @@ -1,32 +1,37 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-release" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_release</refname> - <refpurpose> - Retourne la date de publication (version) de la bibliothèque Tidy - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>string</type><methodname>tidy_get_release</methodname> - <void/> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>string</type><methodname>tidy->getRelease</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_release</function> retourne une chaîne avec - la date de publication de la bibliothèque tidy. - </para> - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_get_release</refname> + <refpurpose>Retourne la date de publication (version) de la bibliothèque Tidy</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>string</type><methodname>tidy_get_release</methodname> + <void/> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>string</type><methodname>tidy->getRelease</methodname> + <void /> + </methodsynopsis> + <para> + Retourne la date de publication (version) de la bibliothèque Tidy. + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne une chaîne contenant la date de publication de la + bibliothèque Tidy. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-root.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-root.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-root.xml:1.14 phpdoc-fr/reference/tidy/functions/tidy-get-root.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-get-root.xml:1.14 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-root.xml Sun Jun 1 15:57:28 2008 @@ -1,65 +1,67 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-root" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_root</refname> - <refpurpose> - Retourne un objet tidyNode représentant la racine du document HTML - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy_get_root</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>tidyNode</type><methodname>tidy->root</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_root</function> retourne un objet tidyNode - représentant la racine de l'arbre Tidy analysé. - </para> - <para> - <example> - <title>Affichage des noeuds</title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_get_root</refname> + <refpurpose> + Retourne un objet tidyNode représentant la racine du document HTML + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy_get_root</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>tidyNode</type><methodname>tidy->root</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_root</function> retourne un objet tidyNode + représentant la racine de l'arbre Tidy analysé. + </para> + <para> + <example> + <title>Affichage des noeuds</title> + <programlisting role="php"> <![CDATA[ <?php $html = <<< HTML -<html><body> + <html><body> -<p>paragraphe</p> -<br/> + <p>paragraphe</p> + <br/> -</body></html> -HTML; + </body></html> + HTML; -$tidy = tidy_parse_string($html); -dump_nodes($tidy->root(), 1); + $tidy = tidy_parse_string($html); + dump_nodes($tidy->root(), 1); -function dump_nodes($node, $indent) { + function dump_nodes($node, $indent) { if($node->hasChildren()) { - foreach($node->child as $child) { - echo str_repeat('.', $indent*2) . ($child->name ? $child->name : '"'.$child->value.'"'). "\n"; + foreach($node->child as $child) { + echo str_repeat('.', $indent*2) . ($child->name ? $child->name : '"'.$child->value.'"'). "\n"; - dump_nodes($child, $indent+1); - } + dump_nodes($child, $indent+1); + } } -} + + } ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ ..html ....head @@ -69,13 +71,13 @@ ........"paragraphe" ......br ]]> - </screen> - </example> - </para> - - &note.tidy.ze2; - </refsect1> - </refentry> + </screen> + </example> + </para> + + &note.tidy.ze2; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-status.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-get-status.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-get-status.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-get-status.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-get-status.xml:1.15 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-status.xml Sun Jun 1 15:57:28 2008 @@ -1,54 +1,55 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-get-status" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_get_status</refname> - <refpurpose> - Retourne le statut du document spécifié - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>int</type><methodname>tidy_get_status</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>int</type><methodname>tidy->getStatus</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_get_status</function> retourne le statut de l'objet - <parameter>object</parameter> Tidy spécifié. Elle retourne 0 si aucune - erreur/avertissement n'a été rencontrée, 1 pour les avertissements - d'accessibilité, et 2 pour les erreurs. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_get_status</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_get_status</refname> + <refpurpose> + Retourne le statut du document spécifié + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>int</type><methodname>tidy_get_status</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>int</type><methodname>tidy->getStatus</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_get_status</function> retourne le statut de l'objet + <parameter>object</parameter> Tidy spécifié. Elle retourne 0 si aucune + erreur/avertissement n'a été rencontrée, 1 pour les avertissements + d'accessibilité, et 2 pour les erreurs. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_get_status</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>paragraphe</i>'; $tidy = tidy_parse_string($html); - + $html2 = '<bogus>test</bogus>'; $tidy2 = tidy_parse_string($html2); - + echo tidy_get_status($tidy); //1 echo tidy_get_status($tidy2); //2 ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml:1.17 phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml:1.18 --- phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml:1.17 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml Sun Jun 1 15:57:28 2008 @@ -1,38 +1,39 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-is-xhtml" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_is_xhtml</refname> - <refpurpose> - Indique si le document est un document XHTML - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy_is_xhtml</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy->isXhtml</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_is_xhtml</function> retourne &true; si l'objet - <parameter>object</parameter> Tidy est un document XHTML ou &false; sinon. - </para> - <warning> - <para> - Cette fonction n'est pas encore implémentée par la bibliothèque Tidylib elle-même, donc elle - retournera toujours &false;. - </para> - </warning> - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_is_xhtml</refname> + <refpurpose> + Indique si le document est un document XHTML + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy_is_xhtml</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy->isXhtml</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_is_xhtml</function> retourne &true; si l'objet + <parameter>object</parameter> Tidy est un document XHTML ou &false; sinon. + </para> + <warning> + <para> + Cette fonction n'est pas encore implémentée par la bibliothèque Tidylib elle-même, donc elle + retournera toujours &false;. + </para> + </warning> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml:1.15 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml Sun Jun 1 15:57:28 2008 @@ -1,39 +1,40 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-is-xml" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_is_xml</refname> - <refpurpose> - Indique si le document est un document XML générique (non HTML/XHTML) - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy_is_xml</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy->isXml</methodname> - <void /> - </methodsynopsis> - <para> - <function>tidy_is_xml</function> retourne &true; si l'objet - <parameter>object</parameter> Tidy est un document XML générique (non HTML/XHTML) - ou &false; sinon. - </para> - <warning> - <para> - Cette fonction n'est pas encore implémentée par la bibliothèque Tidylib elle-même, donc elle - retournera toujours &false;. - </para> - </warning> - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_is_xml</refname> + <refpurpose> + Indique si le document est un document XML générique (non HTML/XHTML) + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy_is_xml</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy->isXml</methodname> + <void /> + </methodsynopsis> + <para> + <function>tidy_is_xml</function> retourne &true; si l'objet + <parameter>object</parameter> Tidy est un document XML générique (non HTML/XHTML) + ou &false; sinon. + </para> + <warning> + <para> + Cette fonction n'est pas encore implémentée par la bibliothèque Tidylib elle-même, donc elle + retournera toujours &false;. + </para> + </warning> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-load-config.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-load-config.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-load-config.xml:1.9 phpdoc-fr/reference/tidy/functions/tidy-load-config.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidy-load-config.xml:1.9 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-load-config.xml Sun Jun 1 15:57:28 2008 @@ -1,28 +1,57 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-load-config" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_load_config</refname> - <refpurpose> - Charge un fichier de configuration ASCII Tidy avec l'encodage spécifié - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>tidy_load_config</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>string</type><parameter>encoding</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_load_config</function> charge le fichier de configuration Tidy avec le - jeu de caractères <parameter>encoding</parameter>. - </para> - &note.tidy.1only; - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_load_config</refname> + <refpurpose>Charge un fichier de configuration ASCII Tidy avec l'encodage spécifié</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>tidy_load_config</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>string</type><parameter>encoding</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_load_config</function> charge le fichier de configuration Tidy avec le + jeu de caractères <parameter>encoding</parameter>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + &note.tidy.1only; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml:1.8 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml Sun Jun 1 15:57:28 2008 @@ -1,25 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-node-get-attr" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_node->get_attr</refname> - <refpurpose> - Retourne la valeur de l'attribut spécifié - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>tidy_attr</type><methodname>tidy_node->get_attr</methodname> - <methodparam><type>int</type><parameter>attrib_id</parameter></methodparam> - </methodsynopsis> - - &warn.undocumented.func; - </refsect1> - </refentry> +<refentry xml:id="function.tidy-node-get-attr" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_node->get_attr</refname> + <refpurpose>Retourne la valeur de l'attribut spécifié</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>tidy_attr</type><methodname>tidy_node->get_attr</methodname> + <methodparam><type>int</type><parameter>attrib_id</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml:1.8 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml Sun Jun 1 15:57:28 2008 @@ -1,26 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-node-get-nodes" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_node->get_nodes</refname> - <refpurpose> - Retourne un tableau avec les noeuds placés sous le noeud courant, - avec l'identifiant spécifié - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>tidy_node->get_nodes</methodname> - <methodparam><type>int</type><parameter>node_id</parameter></methodparam> - </methodsynopsis> - - &warn.undocumented.func; - </refsect1> - </refentry> +<refentry xml:id="function.tidy-node-get-nodes" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_node->get_nodes</refname> + <refpurpose>Retourne un tableau avec les noeuds placés sous le noeud courant, avec l'identifiant spécifié</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>tidy_node->get_nodes</methodname> + <methodparam><type>int</type><parameter>node_id</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml:1.5 phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml:1.6 --- phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml:1.5 Mon May 5 20:59:16 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidyNode-hasChildren" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->hasChildren</refname> @@ -15,13 +16,11 @@ <type>bool</type><methodname>tidyNode->hasChildren</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; - <note> <para> Cette fonction était appelée <function>tidy_node->has_children</function> - dans &php; 4/Tidy 1. + dans PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml:1.5 phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml:1.6 --- phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml:1.5 Mon May 5 20:59:16 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidyNode-hasSiblings" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->hasSiblings</refname> @@ -15,13 +16,11 @@ <type>bool</type><methodname>tidyNode->hasSiblings</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; - <note> <para> Cette fonction était appelée <function>tidy_node->has_siblings</function> - dans &php; 4/Tidy 1. + dans PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml:1.6 phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml:1.7 --- phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml:1.6 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml Sun Jun 1 15:57:28 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidyNode-isAsp" xmlns="http://docbook.org/ns/docbook"> @@ -23,7 +23,7 @@ <note> <para> Cette fonction était nommée <function>tidy_node->is_asp</function> en - &php; 4/Tidy 1. + PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml:1.5 phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml:1.6 --- phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml:1.5 Mon May 5 20:59:16 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidyNode-isComment" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isComment</refname> @@ -15,13 +16,11 @@ <type>bool</type><methodname>tidyNode->isComment</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; - <note> <para> Cette fonction était appelée <function>tidy_node->is_comment</function> - dans &php; 4/Tidy 1. + dans PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml:1.5 phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml:1.6 --- phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml:1.5 Mon May 5 20:59:16 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidyNode-isHtml" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isHtml</refname> @@ -15,13 +16,11 @@ <type>bool</type><methodname>tidyNode->isHtml</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; - <note> <para> Cette fonction était appelée <function>tidy_node->is_html</function> - dans &php; 4/Tidy 1. + dans PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml:1.6 phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml:1.7 --- phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml:1.6 Sun May 25 11:58:04 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidyNode-isJste" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isJste</refname> @@ -15,13 +16,11 @@ <type>bool</type><methodname>tidyNode->isJste</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; - <note> <para> Cette fonction était appelée <function>tidy_node->is_jste</function> - dans &php; 4/Tidy 1. + dans PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml:1.5 phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml:1.6 --- phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml:1.5 Mon May 5 20:59:16 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml Sun Jun 1 15:57:28 2008 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidyNode-isText" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isText</refname> @@ -15,13 +16,11 @@ <type>bool</type><methodname>tidyNode->isText</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; - <note> <para> Cette fonction était appelée <function>tidy_node->is_text</function> - dans &php; 4/Tidy 1. + dans PHP 4/Tidy 1. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-next.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-node-next.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-node-next.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-node-next.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-node-next.xml:1.8 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-node-next.xml Sun Jun 1 15:57:28 2008 @@ -1,25 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-node-next" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_node->next</refname> - <refpurpose> - Retourne le prochain frère du noeud courant - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>tidy_node</type><methodname>tidy_node->next</methodname> - <void/> - </methodsynopsis> - - &warn.undocumented.func; - </refsect1> - </refentry> +<refentry xml:id="function.tidy-node-next" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_node->next</refname> + <refpurpose>Retourne le prochain frère du noeud courant</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>tidy_node</type><methodname>tidy_node->next</methodname> + <void/> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml:1.8 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml Sun Jun 1 15:57:28 2008 @@ -1,25 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.2 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-node-prev" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_node->prev</refname> - <refpurpose> - Retourne le frère précédent de ce noeud - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>tidy_node</type><methodname>tidy_node->prev</methodname> - <void/> - </methodsynopsis> - - &warn.undocumented.func; - </refsect1> - </refentry> +<refentry xml:id="function.tidy-node-prev" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>tidy_node->prev</refname> + <refpurpose>Retourne le frère précédent de ce noeud</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>tidy_node</type><methodname>tidy_node->prev</methodname> + <void/> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml:1.15 Sat Apr 12 17:11:34 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml Sun Jun 1 15:57:28 2008 @@ -1,40 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-parse-file" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_parse_file</refname> - <refpurpose> - Analyse les balises d'un fichier ou d'une URI - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para>Style procédural :</para> - <methodsynopsis> - <type>tidy</type><methodname>tidy_parse_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> - </methodsynopsis> - <para>Style orienté objet :</para> - <methodsynopsis> - <type>bool</type><methodname>tidy->parseFile</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_parse_file</function> analyse le fichier spécifié. - </para> - &tidy.conf-enc; - <para> - <example> - <title>Exemple avec <function>tidy_parse_file</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_parse_file</refname> + <refpurpose> + Analyse les balises d'un fichier ou d'une URI + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <para>Style procédural :</para> + <methodsynopsis> + <type>tidy</type><methodname>tidy_parse_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> + </methodsynopsis> + <para>Style orienté objet :</para> + <methodsynopsis> + <type>bool</type><methodname>tidy->parseFile</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_parse_file</function> analyse le fichier spécifié. + </para> + &tidy.conf-enc; + <para> + <example> + <title>Exemple avec <function>tidy_parse_file</function></title> + <programlisting role="php"> <![CDATA[ <?php $tidy = tidy_parse_file('file.html'); @@ -42,23 +43,23 @@ $tidy->cleanRepair(); if(!empty($tidy->error_buf)) { - echo 'Les erreurs et avertissements suivants ont été recontrés :'."\n"; - echo $tidy->error_buf; + echo 'Les erreurs et avertissements suivants ont été recontrés :'."\n"; + echo $tidy->error_buf; } ?> ]]> - </programlisting> - </example> - </para> - &note.tidy.2only; - <para> - Voir aussi - <function>tidy_parse_string</function>, - <function>tidy_repair_file</function> et - <function>tidy_repair_string</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + &note.tidy.2only; + <para> + Voir aussi + <function>tidy_parse_string</function>, + <function>tidy_repair_file</function> et + <function>tidy_repair_string</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml:1.11 phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml:1.12 --- phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml:1.11 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml Sun Jun 1 15:57:28 2008 @@ -1,31 +1,32 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-repair-file" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_repair_file</refname> - <refpurpose> - Répare un fichier et le renvoie en tant que chaîne - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>tidy_repair_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_repair_file</function> répare le fichier fourni et - le renvoie sous la forme d'une chaîne. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_repair_file</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_repair_file</refname> + <refpurpose> + Répare un fichier et le renvoie en tant que chaîne + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>tidy_repair_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_repair_file</function> répare le fichier fourni et + le renvoie sous la forme d'une chaîne. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_repair_file</function></title> + <programlisting role="php"> <![CDATA[ <?php $file = 'file.html'; @@ -36,18 +37,18 @@ file_put_contents($file, $repaired); ?> ]]> - </programlisting> - </example> - </para> - &note.tidy.2only; - <para> - Voir aussi - <function>tidy_parse_file</function>, - <function>tidy_parse_string</function> et - <function>tidy_repair_string</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + &note.tidy.2only; + <para> + Voir aussi + <function>tidy_parse_file</function>, + <function>tidy_parse_string</function> et + <function>tidy_repair_string</function>. + </para> +</refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml:1.14 phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml:1.14 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml Sun Jun 1 15:57:28 2008 @@ -1,41 +1,42 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-repair-string" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_repair_string</refname> - <refpurpose> - Répare une chaîne HTML en utilisant un fichier de configuration optionnel - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>tidy_repair_string</methodname> - <methodparam><type>string</type><parameter>data</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_repair_string</function> répare la chaîne fournie. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_repair_string</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_repair_string</refname> + <refpurpose> + Répare une chaîne HTML en utilisant un fichier de configuration optionnel + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>tidy_repair_string</methodname> + <methodparam><type>string</type><parameter>data</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_repair_string</function> répare la chaîne fournie. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_repair_string</function></title> + <programlisting role="php"> <![CDATA[ <?php ob_start(); ?> <html> - <head> - <title>test</title> - </head> - <body> - <p>error</i> - </body> + <head> + <title>test</title> + </head> + <body> + <p>error</i> + </body> </html> <?php @@ -46,32 +47,32 @@ echo $tidy; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> -<head> -<title>test</title> -</head> -<body> -<p>error</p> -</body> + <head> + <title>test</title> + </head> + <body> + <p>error</p> + </body> </html> ]]> - </screen> - </example> - </para> - &note.tidy.2only; - <para> - Voir aussi - <function>tidy_parse_file</function>, - <function>tidy_parse_string</function> et - <function>tidy_repair_file</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + &note.tidy.2only; + <para> + Voir aussi + <function>tidy_parse_file</function>, + <function>tidy_parse_string</function> et + <function>tidy_repair_file</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml:1.9 phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml:1.9 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml Sun Jun 1 15:57:28 2008 @@ -1,26 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-reset-config" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_reset_config</refname> - <refpurpose> - Redonne les valeurs de configuration par défaut de Tidy - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>tidy_reset_config</methodname> - <void/> - </methodsynopsis> - <para> - <function>tidy_reset_config</function> restaure la configuration par défaut de Tidy. - </para> - &note.tidy.1only; - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_reset_config</refname> + <refpurpose>Redonne les valeurs de configuration par défaut de Tidy</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>tidy_reset_config</methodname> + <void/> + </methodsynopsis> + <para> + Restaure la configuration par défaut de Tidy. + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + &note.tidy.1only; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-save-config.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-save-config.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-save-config.xml:1.10 phpdoc-fr/reference/tidy/functions/tidy-save-config.xml:1.11 --- phpdoc-fr/reference/tidy/functions/tidy-save-config.xml:1.10 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-save-config.xml Sun Jun 1 15:57:28 2008 @@ -1,33 +1,61 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-save-config" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_save_config</refname> - <refpurpose>Sauve la configuration courante dans un fichier</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>tidy_save_config</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_save_config</function> sauve la configuration courante - dans le fichier <parameter>filename</parameter>. - Seules les valeurs différentes des valeurs par défaut sont sauvées. - </para> - <para> - Voir aussi - <function>tidy_get_config</function>, - <function>tidy_getopt</function>, - <function>tidy_reset_config</function> et - <function>tidy_setopt</function>. - </para> - &note.tidy.1only; - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_save_config</refname> + <refpurpose>Sauve la configuration courante dans un fichier</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>tidy_save_config</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Sauve la configuration courante dans le fichier <parameter>filename</parameter>. + Seules les valeurs différentes des valeurs par défaut sont sauvées. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Chemin vers le fichier de configuration. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + &note.tidy.1only; + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>tidy_get_config</function></member> + <member><function>tidy_getopt</function></member> + <member><function>tidy_reset_config</function></member> + <member><function>tidy_setopt</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml:1.12 phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml:1.13 --- phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml:1.12 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml Sun Jun 1 15:57:28 2008 @@ -1,30 +1,51 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-set-encoding" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_set_encoding</refname> - <refpurpose> - Modifie le jeu de caractères pour les entrées/sorties de l'analyseur Tidy - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>tidy_set_encoding</methodname> - <methodparam><type>string</type><parameter>encoding</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_set_encoding</function> configure l'encodage pour les documents en entrée et en sortie. - &return.success; - La valeurs possibles de <parameter>encoding</parameter> sont - ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, - utf16le, utf16be, big5 et shiftjis. - </para> - &note.tidy.1only; - </refsect1> - </refentry> + <refnamediv> + <refname>tidy_set_encoding</refname> + <refpurpose>Modifie le jeu de caractères pour les entrées/sorties de l'analyseur Tidy</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>tidy_set_encoding</methodname> + <methodparam><type>string</type><parameter>encoding</parameter></methodparam> + </methodsynopsis> + <para> + Modifie le jeu de caractères pour les entrées/sorties de l'analyseur Tidy. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + La valeurs possibles de <parameter>encoding</parameter> sont + ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, + utf16le, utf16be, big5 et shiftjis. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + &note.tidy.1only; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-setopt.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-setopt.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.10 phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.11 --- phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.10 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-setopt.xml Sun Jun 1 15:57:28 2008 @@ -1,33 +1,33 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidy-setopt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>tidy_setopt</refname> - <refpurpose> - Modifie la valeur de l'option de configuration Tidy - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>tidy_setopt</methodname> - <methodparam><type>string</type><parameter>option</parameter></methodparam> - <methodparam><type>mixed</type><parameter>value</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_setopt</function> configure l'option - <parameter>option</parameter> avec la nouvelle valeur - <parameter>value</parameter>. - Vous trouverez une liste des options de configuration sur : <link - xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_setopt</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_setopt</refname> + <refpurpose> + Modifie la valeur de l'option de configuration Tidy + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>tidy_setopt</methodname> + <methodparam><type>string</type><parameter>option</parameter></methodparam> + <methodparam><type>mixed</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_setopt</function> configure l'option + <parameter>option</parameter> avec la nouvelle valeur + <parameter>value</parameter>. + Vous trouverez une liste des options de configuration sur : <link + xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + <para> + <example> + <title>Exemple avec <function>tidy_setopt</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>test</i>'; @@ -37,19 +37,19 @@ tidy_setopt('indent', FALSE); ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>tidy_getopt</function>, - <function>tidy_get_config</function>, - <function>tidy_reset_config</function> et - <function>tidy_save_config</function>. - </para> - &note.tidy.1only; - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + Voir aussi + <function>tidy_getopt</function>, + <function>tidy_get_config</function>, + <function>tidy_reset_config</function> et + <function>tidy_save_config</function>. + </para> + &note.tidy.1only; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml:1.11 phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml:1.12 --- phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml:1.11 Thu Jun 21 17:04:59 2007 +++ phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml Sun Jun 1 15:57:28 2008 @@ -1,28 +1,51 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry xml:id="function.tidy-warning-count" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>tidy_warning_count</refname> - <refpurpose> - Retourne le nombre d'alertes Tidy rencontrées dans le document spécifié - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>tidy_warning_count</methodname> - <methodparam><type>tidy</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <para> - <function>tidy_warning_count</function> retourne le nombre d'avertissements - tidy rencontrés pour le document spécifié. - </para> - <para> - <example> - <title>Exemple avec <function>tidy_warning_count</function></title> - <programlisting role="php"> + <refnamediv> + <refname>tidy_warning_count</refname> + <refpurpose>Retourne le nombre d'alertes Tidy rencontrées dans le document spécifié</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>tidy_warning_count</methodname> + <methodparam><type>tidy</type><parameter>object</parameter></methodparam> + </methodsynopsis> + <para> + <function>tidy_warning_count</function> retourne le nombre d'avertissements + tidy rencontrés pour le document spécifié. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + L'objet Tidy. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le nombre d'alertes. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>tidy_warning_count</function></title> + <programlisting role="php"> <![CDATA[ <?php $html = '<p>test</i> @@ -30,20 +53,24 @@ $tidy = tidy_parse_string($html); -echo tidy_error_count($tidy) . "\n"; //1 +echo tidy_error_count($tidy) . "\n"; //1 echo tidy_warning_count($tidy) . "\n"; //5 ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>tidy_access_count</function> et - <function>tidy_error_count</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>tidy_error_count</function></member> + <member><function>tidy_access_count</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.fr (#5955) next »