cvs: phpdoc-fr /reference/tidy/functions tidy-access-count.xml tidy-clean-repair.xml tidy-config-count.xml tidy-construct.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-node-get-attr.xml tidy-node-get-nodes.xml tidy-node-next.xml tidy-node-prev.xml tidy-parse-file.xml tidy-parse-string.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-isPhp.xml
tidyNode-isText.xml tidynode-getparent.xml

From: Date: Wed, 08 Apr 2009 20:48:08 +0000
Subject: cvs: phpdoc-fr /reference/tidy/functions tidy-access-count.xml tidy-clean-repair.xml tidy-config-count.xml tidy-construct.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-node-get-attr.xml tidy-node-get-nodes.xml tidy-node-next.xml tidy-node-prev.xml tidy-parse-file.xml tidy-parse-string.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-isPhp.xml
tidyNode-isText.xml tidynode-getparent.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6982@lists.php.net to get a copy of this message
dams Wed Apr 8 20:48:08 2009 UTC Modified files: /phpdoc-fr/reference/tidy/functions tidy-access-count.xml tidy-clean-repair.xml tidy-config-count.xml tidy-construct.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-node-get-attr.xml tidy-node-get-nodes.xml tidy-node-next.xml tidy-node-prev.xml tidy-parse-file.xml tidy-parse-string.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-isPhp.xml tidyNode-isText.xml tidynode-getparent.xml Log: synch with en

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-access-count.xml?r1=1.13&r2=1.14&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.13 phpdoc-fr/reference/tidy/functions/tidy-access-count.xml:1.14 --- phpdoc-fr/reference/tidy/functions/tidy-access-count.xml:1.13 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-access-count.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.13 $ --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.14 $ --> <!-- 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> + <refpurpose>Retourne le nombre d'alertes d'accessibilité Tidy rencontrées dans le document</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -15,8 +15,8 @@ <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é. + <function>tidy_access_count</function> retourne le nombre d'alertes d'accessibilité + trouvées dans le document spécifié. </para> </refsect1> <refsect1 role="parameters"> @@ -27,7 +27,7 @@ <term><parameter>object</parameter></term> <listitem> <para> - L'objet Tidy. + &tidy.object; </para> </listitem> </varlistentry> @@ -58,7 +58,7 @@ </body></html>'; -// sélectionne 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(); @@ -83,7 +83,7 @@ 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 + toujours &zero;. Vous devez également activer l'option <literal>accessibility-check</literal>. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml?r1=1.16&r2=1.17&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.16 phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml:1.17 --- phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml:1.16 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-clean-repair.xml Wed Apr 8 20:48:08 2009 @@ -1,32 +1,59 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.8 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 + 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> + <para>&style.procedural;</para> <methodsynopsis> <type>bool</type><methodname>tidy_clean_repair</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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. + <function>tidy_clean_repair</function> nettoie et répare + l'objet Tidy <parameter>object</parameter> passé en argument. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_clean_repair</function></title> @@ -58,11 +85,14 @@ </screen> </example> </para> - <para> - Voir aussi - <function>tidy_repair_file</function> et - <function>tidy_repair_string</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_repair_file</function></member> + <member><function>tidy_repair_string</function></member> + </simplelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-config-count.xml?r1=1.12&r2=1.13&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.12 phpdoc-fr/reference/tidy/functions/tidy-config-count.xml:1.13 --- phpdoc-fr/reference/tidy/functions/tidy-config-count.xml:1.12 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-config-count.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidy-config-count" xmlns="http://docbook.org/ns/docbook"> @@ -8,7 +8,7 @@ <refname>tidy_config_count</refname> <refpurpose> Retourne le nombre d'erreurs de configuration Tidy - rencontrées dans le document + rencontrées dans le document </refpurpose> </refnamediv> <refsect1> @@ -19,9 +19,36 @@ </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é. + rencontrées dans la configuration de l'objet <parameter>object</parameter> + Tidy spécifié. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns the number of errors. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_config_count</function></title> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-construct.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-construct.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-construct.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-construct.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-construct.xml:1.8 Sun May 25 09:00:36 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-construct.xml Wed Apr 8 20:48:08 2009 @@ -1,9 +1,9 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-construct" xmlns="http://docbook.org/ns/docbook"> +<refentry xml:id="function.tidy-construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>tidy::__construct</refname> <refpurpose> @@ -22,12 +22,74 @@ <para> <function>tidy::__construct</function> construit un nouvel objet Tidy. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; <para> - Si le paramètre <parameter>filename</parameter> est fourni, cette fonction - lira également ce fichier et initialisera l'objet avec ce fichier, agissant de la même façon - que la fonction <function>tidy_parse_file</function>. + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Si le paramètre <parameter>filename</parameter> est fourni, + cette fonction lira également ce fichier et initialisera + l'objet avec ce fichier, agissant de la même façon + que la fonction <function>tidy_parse_file</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>config</parameter></term> + <listitem> + <para> + La configuration <parameter>config</parameter> peut être passée + sous forme de &array; ou de &string;. Si une &string; est passée, + elle est interprétée comme le nom du fichier de configuration, + et sinon, elle est interprétée comme les options elles-mêmes. + </para> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Le paramètre <parameter>encoding</parameter> configure l'encodage + pour les documents d'entrée et de sortie. Les valeurs possibles sont + <literal>ascii</literal>, <literal>latin0</literal>, <literal>latin1</literal>, + <literal>raw</literal>, <literal>utf8</literal>, <literal>iso2022</literal>, + <literal>mac</literal>, <literal>win1252</literal>, <literal>ibm858</literal>, + <literal>utf16</literal>, <literal>utf16le</literal>, <literal>utf16be</literal>, + <literal>big5</literal> et <literal>shiftjis</literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>use_include_path</parameter></term> + <listitem> + <para> + Indique s'il faut rechercher le fichier dans l' + <link linkend="ini.include-path">include_path</link>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> - &tidy.conf-enc; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un nouvel objet <classname>tidy</classname>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy::__construct</function></title> @@ -55,7 +117,7 @@ $tidy->CleanRepair(); if ($tidy->errorBuffer) { -echo "Les erreurs suivantes ont été détectées :\n"; +echo "Les erreurs suivantes ont été détectées :\n"; echo $tidy->errorBuffer; } @@ -65,19 +127,23 @@ &example.outputs; <screen> <![CDATA[ -Les erreurs suivantes ont été détectées : +Les erreurs suivantes ont été détectées : line 8 column 14 - Error: <bt> is not recognized! line 8 column 14 - Warning: discarding unexpected <bt> ]]> </screen> </example> </para> - <para> - Voir aussi - <function>tidy_parse_file</function> et - <function>tidy_parse_string</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_parse_file</function></member> + <member><function>tidy_parse_string</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml:1.15 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-diagnose.xml Wed Apr 8 20:48:08 2009 @@ -1,33 +1,57 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.10 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> + <refpurpose>Établit le diagnostic pour le document analysé et réparé</refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>bool</type><methodname>tidy_diagnose</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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 + <parameter>object</parameter> Tidy donné, en ajoutant quelques informations concernant le document dans la pile d'erreurs. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> &return.success; </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_diagnose</function></title> @@ -45,7 +69,7 @@ $tidy = tidy_parse_string($html); $tidy->CleanRepair(); -// notez la différence entre les deux sorties +// notez la différence entre les deux sorties echo tidy_get_error_buffer($tidy) . "\n"; $tidy->diagnose(); @@ -69,11 +93,15 @@ </screen> </example> </para> - <para> - Voir aussi - <function>tidy_get_error_buffer</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_get_error_buffer</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-error-count.xml?r1=1.15&r2=1.16&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.15 phpdoc-fr/reference/tidy/functions/tidy-error-count.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-error-count.xml:1.15 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-error-count.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.10 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 + Retourne le nombre d'erreurs Tidy rencontrées dans le document </refpurpose> </refnamediv> @@ -19,8 +19,35 @@ </methodsynopsis> <para> <function>tidy_error_count</function> retourne le nombre d'erreurs - Tidy rencontrées dans le document spécifié. + Tidy rencontrées dans le document spécifié. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le nombre d'erreur. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_error_count</function></title> @@ -52,11 +79,14 @@ </screen> </example> </para> - <para> - Voir aussi - <function>tidy_access_count</function> et - <function>tidy_warning_count</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_access_count</function></member> + <member><function>tidy_warning_count</function></member> + </simplelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-body.xml?r1=1.16&r2=1.17&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.16 phpdoc-fr/reference/tidy/functions/tidy-get-body.xml:1.17 --- phpdoc-fr/reference/tidy/functions/tidy-get-body.xml:1.16 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-body.xml Wed Apr 8 20:48:08 2009 @@ -1,32 +1,65 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.11 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 + Retourne un objet TidyNode, commencé à partir de la balise &lt;body&gt; </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>tidyNode</type><methodname>tidy_get_body</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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;. + <function>tidy_get_body</function> retourne un objet TidyNode commençant + à partir de la balise &lt;body&gt;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la version de HTML détectée. + </para> + <warning> + <para> + Cette fonction n'est pas encore implémentée dans Tidylib + elle-même, alors elle retourne toujours <literal>0</literal>. + </para> + </warning> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_get_body</function></title> @@ -60,13 +93,21 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.ze2; - <para> - Voir aussi - <function>tidy_get_head</function> et - <function>tidy_get_html</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_get_head</function></member> + <member><function>tidy_get_html</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-config.xml?r1=1.14&r2=1.15&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.14 phpdoc-fr/reference/tidy/functions/tidy-get-config.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-get-config.xml:1.14 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-config.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 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"> @@ -12,26 +12,53 @@ </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>array</type><methodname>tidy_get_config</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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é. + options de configuration utilisées par l'objet <parameter>object</parameter> Tidy + spécifié. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - Pour une explication de chaque option, voyez <link - xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + Retourne un &array; d'options de configurations. </para> <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>tidy_get_config</function></title> <programlisting role="php"> @@ -140,12 +167,16 @@ </screen> </example> </para> - <para> - Voir aussi - <function>tidy_reset_config</function> et - <function>tidy_save_config</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_reset_config</function></member> + <member><function>tidy_save_config</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml?r1=1.13&r2=1.14&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.13 phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.14 --- phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.13 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidy-get-error-buffer" xmlns="http://docbook.org/ns/docbook"> @@ -13,20 +13,47 @@ </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</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> + <para>&style.oop;</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é. + avertissements rencontrés lors de l'analyse du document spécifié. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns the error buffer as a string. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_get_error_buffer</function></title> @@ -49,12 +76,15 @@ </screen> </example> </para> - <para> - Voir aussi - <function>tidy_access_count</function>, - <function>tidy_error_count</function> et - <function>tidy_warning_count</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_access_count</function></member> + <member><function>tidy_error_count</function></member> + <member><function>tidy_warning_count</function></member> + </simplelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-head.xml?r1=1.16&r2=1.17&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.16 phpdoc-fr/reference/tidy/functions/tidy-get-head.xml:1.17 --- phpdoc-fr/reference/tidy/functions/tidy-get-head.xml:1.16 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-head.xml Wed Apr 8 20:48:08 2009 @@ -1,31 +1,58 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.11 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; + Retourne un objet TidyNode à partir de la balise &lt;head&gt; </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>tidyNode</type><methodname>tidy_get_head</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>tidyNode</type><methodname>tidy->head</methodname> <void /> </methodsynopsis> <para> - <function>tidy_get_head</function> retourne un objet tidyNode à partir de + <function>tidy_get_head</function> retourne un objet tidyNode à partir de la balise &lt;head&gt;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne l'objet <classname>tidyNode</classname>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_get_head</function></title> @@ -59,13 +86,21 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.ze2; - <para> - Voir aussi - <function>tidy_get_body</function> et - <function>tidy_get_html</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_get_body</function></member> + <member><function>tidy_get_html</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml?r1=1.20&r2=1.21&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.20 phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.21 --- phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.20 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml Wed Apr 8 20:48:08 2009 @@ -1,35 +1,58 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.20 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.21 $ --> +<!-- EN-Revision: 1.9 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 + Détecte le version du code HTML utilisée dans un document </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</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> + <para>&style.oop;</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é. + <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> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la version HTML détectée. </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 + <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> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-html.xml?r1=1.18&r2=1.19&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.18 phpdoc-fr/reference/tidy/functions/tidy-get-html.xml:1.19 --- phpdoc-fr/reference/tidy/functions/tidy-get-html.xml:1.18 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-html.xml Wed Apr 8 20:48:08 2009 @@ -1,31 +1,58 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.12 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; + Retourne un objet TidyNode commençant à la balise &lt;html&gt; </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>tidyNode</type><methodname>tidy_get_html</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>tidyNode</type><methodname>tidy->html</methodname> <void /> </methodsynopsis> <para> - <function>tidy_get_html</function> retourne un objet tidyNode commençant à + <function>tidy_get_html</function> retourne un objet tidyNode commençant à la balise &lt;html&gt;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne l'objet <classname>tidyNode</classname>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_get_html</function></title> @@ -64,12 +91,19 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.ze2; - <para> - Voir aussi - <function>tidy_get_body</function> et - <function>tidy_get_head</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_get_body</function></member> + <member><function>tidy_get_head</function></member> + </simplelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml?r1=1.6&r2=1.7&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.6 phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml:1.7 --- phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml:1.6 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-opt-doc.xml Wed Apr 8 20:48:08 2009 @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.7 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> @@ -7,30 +7,30 @@ <refnamediv> <refname>tidy_get_opt_doc</refname> <refpurpose> - Retourne la documentation pour le nom de l'option donnée + Retourne la documentation pour le nom de l'option donnée </refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>string</type><methodname>tidy_get_opt_doc</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> <methodparam><type>string</type><parameter>optname</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>string</type><methodname>tidy->getOptDoc</methodname> <methodparam><type>string</type><parameter>optname</parameter></methodparam> </methodsynopsis> <para> <function>tidy_get_opt_doc</function> retourne la documentation pour le nom - de l'option donnée. + de l'option donnée. </para> <note> <para> - Vous devez posséder au moins libtidy datant du 25 avril 2005 pour que + Vous devez posséder au moins libtidy datant du 25 avril 2005 pour que cette fonction soit disponible. </para> </note> @@ -44,7 +44,7 @@ <term><parameter>object</parameter></term> <listitem> <para> - Un objet tidy + &tidy.object; </para> </listitem> </varlistentry> @@ -63,7 +63,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne une chaîne de caractères si l'option existe et qu'elle possède de + Retourne une chaîne de caractères si l'option existe et qu'elle possède de la documentation ou &false; autrement. </para> </refsect1> @@ -72,7 +72,7 @@ &reftitle.examples; <para> <example> - <title>Affichage de toutes les options avec leur documentation et leur valeur par défaut</title> + <title>Affichage de toutes les options avec leur documentation et leur valeur par défaut</title> <programlisting role="php"> <![CDATA[ <?php @@ -90,7 +90,7 @@ $val = ($tidy->getOpt($opt) === true) ? 'true' : $val; $val = ($tidy->getOpt($opt) === false) ? 'false' : $val; - echo "<p><b>$opt</b> (défaut : '$val')<br />". + echo "<p><b>$opt</b> (défaut : '$val')<br />". "$doc</p><hr />\n"; } http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-output.xml?r1=1.12&r2=1.13&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.12 phpdoc-fr/reference/tidy/functions/tidy-get-output.xml:1.13 --- phpdoc-fr/reference/tidy/functions/tidy-get-output.xml:1.12 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-output.xml Wed Apr 8 20:48:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> @@ -26,7 +26,7 @@ <term><parameter>object</parameter></term> <listitem> <para> - L'objet Tidy. + &tidy.object; </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-release.xml?r1=1.14&r2=1.15&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.14 phpdoc-fr/reference/tidy/functions/tidy-get-release.xml:1.15 --- phpdoc-fr/reference/tidy/functions/tidy-get-release.xml:1.14 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-release.xml Wed Apr 8 20:48:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> @@ -10,12 +10,12 @@ </refnamediv> <refsect1 role="description"> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>string</type><methodname>tidy_get_release</methodname> <void/> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>string</type><methodname>tidy->getRelease</methodname> <void /> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-root.xml?r1=1.15&r2=1.16&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.15 phpdoc-fr/reference/tidy/functions/tidy-get-root.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-get-root.xml:1.15 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-root.xml Wed Apr 8 20:48:08 2009 @@ -1,31 +1,58 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.9 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 + Retourne un objet tidyNode représentant la racine du document HTML </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>tidyNode</type><methodname>tidy_get_root</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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é. + représentant la racine de l'arbre Tidy analysé. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne l'objet <classname>tidyNode</classname>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Affichage des noeuds</title> @@ -74,7 +101,10 @@ </screen> </example> </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.ze2; </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-get-status.xml?r1=1.16&r2=1.17&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.16 phpdoc-fr/reference/tidy/functions/tidy-get-status.xml:1.17 --- phpdoc-fr/reference/tidy/functions/tidy-get-status.xml:1.16 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-get-status.xml Wed Apr 8 20:48:08 2009 @@ -1,33 +1,62 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.10 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é + Retourne le statut du document spécifié </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>int</type><methodname>tidy_get_status</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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. + <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> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne 0 si aucune alerte ou erreur n'est survenue; 1 + si des alertes ou des erreurs d'accessibilité ont été + identifiées, et 2 pour des erreurs. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_get_status</function></title> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-getopt.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-getopt.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-getopt.xml:1.15 phpdoc-fr/reference/tidy/functions/tidy-getopt.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-getopt.xml:1.15 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-getopt.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.8 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"> @@ -10,25 +10,66 @@ </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</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> + <para>&style.oop;</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 + <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 à : + <parameter>object</parameter>. Le type retourné dépend du + type de l'option spécifiée <parameter>option</parameter>. + </para> + <para> + 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> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>option</parameter></term> + <listitem> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la valeur spécifiée par l'option + <parameter>option</parameter>. Le type de la valeur + dépend de l'option elle-même. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_getopt</function></title> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml?r1=1.18&r2=1.19&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.18 phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml:1.19 --- phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml:1.18 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-is-xhtml.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidy-is-xhtml" xmlns="http://docbook.org/ns/docbook"> @@ -12,12 +12,12 @@ </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>bool</type><methodname>tidy_is_xhtml</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>bool</type><methodname>tidy->isXhtml</methodname> <void /> @@ -26,9 +26,33 @@ <function>tidy_is_xhtml</function> retourne &true; si l'objet <parameter>object</parameter> Tidy est un document XHTML ou &false; sinon. </para> + <para> + Indique si le document est un document XHTML. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <warning> <para> - Cette fonction n'est pas encore implémentée par la bibliothèque Tidylib elle-même, donc elle + Cette fonction n'est pas encore implémentée par la + bibliothèque Tidylib elle-même, donc elle retournera toujours &false;. </para> </warning> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml?r1=1.16&r2=1.17&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.16 phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml:1.17 --- phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml:1.16 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-is-xml.xml Wed Apr 8 20:48:08 2009 @@ -1,35 +1,56 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.8 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) + Indique si le document est un document XML générique (non HTML/XHTML) </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>bool</type><methodname>tidy_is_xml</methodname> <methodparam><type>tidy</type><parameter>object</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</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. + <parameter>object</parameter> Tidy est un document XML générique + (non HTML/XHTML) ou &false; sinon. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>object</parameter></term> + <listitem> + <para> + &tidy.object; + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <warning> <para> - Cette fonction n'est pas encore implémentée par la bibliothèque Tidylib elle-même, donc elle + Cette fonction n'est pas encore implémentée par + la bibliothèque Tidylib elle-même, donc elle retournera toujours &false;. </para> </warning> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml?r1=1.9&r2=1.10&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.9 phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml:1.9 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-node-get-attr.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.10 $ --> <!-- 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> + <refpurpose>Retourne la valeur de l'attribut spécifié</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml?r1=1.9&r2=1.10&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.9 phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml:1.9 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-node-get-nodes.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.10 $ --> <!-- 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> + <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; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-next.xml?r1=1.9&r2=1.10&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.9 phpdoc-fr/reference/tidy/functions/tidy-node-next.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidy-node-next.xml:1.9 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-node-next.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.10 $ --> <!-- 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> + <refpurpose>Retourne le prochain frère du noeud courant</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml?r1=1.9&r2=1.10&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.9 phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml:1.9 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-node-prev.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.10 $ --> <!-- 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> + <refpurpose>Retourne le frère précédent de ce noeud</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml?r1=1.17&r2=1.18&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.17 phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml:1.18 --- phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml:1.17 Thu Jan 22 20:07:01 2009 +++ phpdoc-fr/reference/tidy/functions/tidy-parse-file.xml Wed Apr 8 20:48:08 2009 @@ -1,9 +1,9 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-parse-file" xmlns="http://docbook.org/ns/docbook"> +<refentry xml:id="function.tidy-parse-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>tidy_parse_file</refname> <refpurpose> @@ -12,7 +12,7 @@ </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>tidy</type><methodname>tidy_parse_file</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> @@ -20,7 +20,7 @@ <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>bool</type><methodname>tidy->parseFile</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> @@ -29,9 +29,77 @@ <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> - <function>tidy_parse_file</function> analyse le fichier spécifié. + <function>tidy_parse_file</function> analyse le fichier spécifié. </para> - &tidy.conf-enc; + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Si le paramètre <parameter>filename</parameter> est fourni, + cette fonction va aussi lire ce fichier, et initialiser + l'objet avec ce fichier, de la même façon que + <function>tidy_parse_file</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>config</parameter></term> + <listitem> + <para> + La configuration <parameter>config</parameter> peut être passée + sous forme de &array; ou de &string;. Si une &string; est passée, + elle est interprétée comme le nom du fichier de configuration, + et sinon, elle est interprétée comme les options elles-mêmes. + </para> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Le paramètre <parameter>encoding</parameter> configure l'encodage + pour les documents d'entrée et de sortie. Les valeurs possibles sont + <literal>ascii</literal>, <literal>latin0</literal>, <literal>latin1</literal>, + <literal>raw</literal>, <literal>utf8</literal>, <literal>iso2022</literal>, + <literal>mac</literal>, <literal>win1252</literal>, <literal>ibm858</literal>, + <literal>utf16</literal>, <literal>utf16le</literal>, <literal>utf16be</literal>, + <literal>big5</literal> et <literal>shiftjis</literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>use_include_path</parameter></term> + <listitem> + <para> + Active la recherche dans l' + <link linkend="ini.include-path">include_path</link>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>tidy_parse_file</function></title> @@ -43,7 +111,7 @@ $tidy->cleanRepair(); if(!empty($tidy->error_buf)) { - echo 'Les erreurs et avertissements suivants ont été recontrés :'."\n"; + echo 'Les erreurs et avertissements suivants ont été recontrés :'."\n"; echo $tidy->error_buf; } ?> @@ -51,14 +119,22 @@ </programlisting> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.2only; - <para> - Voir aussi - <function>tidy_parse_string</function>, - <function>tidy_repair_file</function> et - <function>tidy_repair_string</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_parse_string</function></member> + <member><function>tidy_repair_file</function></member> + <member><function>tidy_repair_string</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-parse-string.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-parse-string.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-parse-string.xml:1.18 phpdoc-fr/reference/tidy/functions/tidy-parse-string.xml:1.19 --- phpdoc-fr/reference/tidy/functions/tidy-parse-string.xml:1.18 Sun May 25 09:00:36 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-parse-string.xml Wed Apr 8 20:48:08 2009 @@ -1,25 +1,25 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-parse-string" xmlns="http://docbook.org/ns/docbook"> +<refentry xml:id="function.tidy-parse-string" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>tidy_parse_string</refname> <refpurpose> - Analyse un document HTML contenu dans une chaîne + Analyse un document HTML contenu dans une chaîne </refpurpose> </refnamediv> <refsect1> &reftitle.description; - <para>Style procédural :</para> + <para>&style.procedural;</para> <methodsynopsis> <type>tidy</type><methodname>tidy_parse_string</methodname> <methodparam><type>string</type><parameter>input</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>config</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> - <para>Style orienté objet :</para> + <para>&style.oop;</para> <methodsynopsis> <type>bool</type><methodname>tidy->parseString</methodname> <methodparam><type>string</type><parameter>input</parameter></methodparam> @@ -27,9 +27,64 @@ <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> <para> - <function>tidy_parse_string</function> analyse un document contenu dans une chaîne. + <function>tidy_parse_string</function> analyse un document contenu dans une chaîne. </para> - &tidy.conf-enc; + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>input</parameter></term> + <listitem> + <para> + Les données à analyser. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>config</parameter></term> + <listitem> + <para> + La configuration <parameter>config</parameter> peut être passée + sous forme de &array; ou de &string;. Si une &string; est passée, + elle est interprétée comme le nom du fichier de configuration, + et sinon, elle est interprétée comme les options elles-mêmes. + </para> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Le paramètre <parameter>encoding</parameter> configure l'encodage + pour les documents d'entrée et de sortie. Les valeurs possibles sont + <literal>ascii</literal>, <literal>latin0</literal>, <literal>latin1</literal>, + <literal>raw</literal>, <literal>utf8</literal>, <literal>iso2022</literal>, + <literal>mac</literal>, <literal>win1252</literal>, <literal>ibm858</literal>, + <literal>utf16</literal>, <literal>utf16le</literal>, <literal>utf16be</literal>, + <literal>big5</literal> et <literal>shiftjis</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne une nouvelle instance <classname>tidy</classname>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_parse_string</function></title> @@ -84,14 +139,22 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.2only; - <para> - Voir aussi - <function>tidy_parse_file</function>, - <function>tidy_repair_file</function> et - <function>tidy_repair_string</function>. - </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_parse_file</function></member> + <member><function>tidy_repair_file</function></member> + <member><function>tidy_repair_string</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml?r1=1.13&r2=1.14&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.13 phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml:1.14 --- phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml:1.13 Thu Jan 22 20:07:01 2009 +++ phpdoc-fr/reference/tidy/functions/tidy-repair-file.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-repair-file" xmlns="http://docbook.org/ns/docbook"> +<refentry xml:id="function.tidy-repair-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>tidy_repair_file</refname> <refpurpose> - Répare un fichier et le renvoie en tant que chaîne + Répare un fichier et le renvoie en tant que chaîne </refpurpose> </refnamediv> <refsect1> @@ -20,9 +20,74 @@ <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> - <function>tidy_repair_file</function> répare le fichier fourni et - le renvoie sous la forme d'une chaîne. + <function>tidy_repair_file</function> répare le fichier fourni et + le renvoie sous la forme d'une chaîne. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Le fichier à réparer. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>config</parameter></term> + <listitem> + <para> + La configuration <parameter>config</parameter> peut être passée + sous forme de &array; ou de &string;. Si une &string; est passée, + elle est interprétée comme le nom du fichier de configuration, + et sinon, elle est interprétée comme les options elles-mêmes. + </para> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Le paramètre <parameter>encoding</parameter> configure l'encodage + pour les documents d'entrée et de sortie. Les valeurs possibles sont + <literal>ascii</literal>, <literal>latin0</literal>, <literal>latin1</literal>, + <literal>raw</literal>, <literal>utf8</literal>, <literal>iso2022</literal>, + <literal>mac</literal>, <literal>win1252</literal>, <literal>ibm858</literal>, + <literal>utf16</literal>, <literal>utf16le</literal>, <literal>utf16be</literal>, + <literal>big5</literal> et <literal>shiftjis</literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>use_include_path</parameter></term> + <listitem> + <para> + Indique s'il faut chercher le fichier dans l' + <link linkend="ini.include-path">include_path</link>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le contenu réparée, sous forme de chaîne. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_repair_file</function></title> @@ -40,14 +105,22 @@ </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> + + <refsect1 role="notes"> + &reftitle.notes; + &note.tidy.2only; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_parse_file</function></member> + <member><function>tidy_parse_string</function></member> + <member><function>tidy_repair_string</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml?r1=1.15&r2=1.16&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.15 phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml:1.16 --- phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml:1.15 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-repair-string.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> -<refentry xml:id="function.tidy-repair-string" xmlns="http://docbook.org/ns/docbook"> +<refentry xml:id="function.tidy-repair-string" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>tidy_repair_string</refname> <refpurpose> - Répare une chaîne HTML en utilisant un fichier de configuration optionnel + Répare une chaîne HTML en utilisant un fichier de configuration optionnel </refpurpose> </refnamediv> <refsect1> @@ -19,8 +19,64 @@ <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> <para> - <function>tidy_repair_string</function> répare la chaîne fournie. + <function>tidy_repair_string</function> répare la chaîne fournie. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>data</parameter></term> + <listitem> + <para> + Les données à réparer. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>config</parameter></term> + <listitem> + <para> + La configuration <parameter>config</parameter> peut être passée + sous forme de &array; ou de &string;. Si une &string; est passée, + elle est interprétée comme le nom du fichier de configuration, + et sinon, elle est interprétée comme les options elles-mêmes. + </para> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Le paramètre <parameter>encoding</parameter> configure l'encodage + pour les documents d'entrée et de sortie. Les valeurs possibles sont + <literal>ascii</literal>, <literal>latin0</literal>, <literal>latin1</literal>, + <literal>raw</literal>, <literal>utf8</literal>, <literal>iso2022</literal>, + <literal>mac</literal>, <literal>win1252</literal>, <literal>ibm858</literal>, + <literal>utf16</literal>, <literal>utf16le</literal>, <literal>utf16be</literal>, + <literal>big5</literal> et <literal>shiftjis</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la chaîne réparée. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_repair_string</function></title> @@ -64,13 +120,20 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.2only; - <para> - Voir aussi - <function>tidy_parse_file</function>, - <function>tidy_parse_string</function> et - <function>tidy_repair_file</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_parse_file</function></member> + <member><function>tidy_parse_string</function></member> + <member><function>tidy_repair_file</function></member> + </simplelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml?r1=1.10&r2=1.11&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.10 phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml:1.11 --- phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml:1.10 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-reset-config.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.11 $ --> <!-- 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> + <refpurpose>Redonne les valeurs de configuration par défaut de Tidy</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -15,7 +15,7 @@ <void/> </methodsynopsis> <para> - Restaure la configuration par défaut de Tidy. + Restaure la configuration par défaut de Tidy. </para> </refsect1> <refsect1 role="returnvalues"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-save-config.xml?r1=1.11&r2=1.12&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.11 phpdoc-fr/reference/tidy/functions/tidy-save-config.xml:1.12 --- phpdoc-fr/reference/tidy/functions/tidy-save-config.xml:1.11 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-save-config.xml Wed Apr 8 20:48:08 2009 @@ -1,5 +1,5 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.12 $ --> <!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> @@ -16,7 +16,7 @@ </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. + Seules les valeurs différentes des valeurs par défaut sont sauvées. </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml?r1=1.13&r2=1.14&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.13 phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml:1.14 --- phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml:1.13 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-set-encoding.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.13 $ --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.14 $ --> <!-- 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> + <refpurpose>Modifie le jeu de caractères pour les entrées/sorties de l'analyseur Tidy</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -15,7 +15,7 @@ <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. + Modifie le jeu de caractères pour les entrées/sorties de l'analyseur Tidy. </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-setopt.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-setopt.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.11 phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.12 --- phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.11 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-setopt.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.9 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"> @@ -21,9 +21,46 @@ <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> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>option</parameter></term> + <listitem> + <para> + Le nom de l'option. + </para> + <para> + Pour une explication sur chaque option, voyez + <link xlink:href="&url.tidy.conf;">&url.tidy.conf;</link>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>value</parameter></term> + <listitem> + <para> + La valeur de l'option. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>tidy_setopt</function></title> @@ -40,15 +77,23 @@ </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> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; &note.tidy.1only; </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <simplelist> + <member><function>tidy_getopt</function></member> + <member><function>tidy_get_config</function></member> + <member><function>tidy_reset_config</function></member> + <member><function>tidy_save_config</function></member> + </simplelist> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml?r1=1.12&r2=1.13&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.12 phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml:1.13 --- phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml:1.12 Sun Jun 1 15:57:28 2008 +++ phpdoc-fr/reference/tidy/functions/tidy-warning-count.xml Wed Apr 8 20:48:08 2009 @@ -1,12 +1,12 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.13 $ --> <!-- 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> + <refpurpose>Retourne le nombre d'alertes Tidy rencontrées dans le document spécifié</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -16,7 +16,7 @@ </methodsynopsis> <para> <function>tidy_warning_count</function> retourne le nombre d'avertissements - tidy rencontrés pour le document spécifié. + tidy rencontrés pour le document spécifié. </para> </refsect1> <refsect1 role="parameters"> @@ -27,7 +27,7 @@ <term><parameter>object</parameter></term> <listitem> <para> - L'objet Tidy. + &tidy.object; </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml:1.7 phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml:1.8 --- phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml:1.7 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-hasChildren.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-haschildren" xmlns="http://docbook.org/ns/docbook"> @@ -16,10 +16,24 @@ <type>bool</type><methodname>tidyNode->hasChildren</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; + <para> + Indique si le noeud courant a des enfants. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si le noeud a des enfants, + &false; sinon. + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était appelée <function>tidy_node->has_children</function> + Cette fonction était appelée <function>tidy_node->has_children</function> dans PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml:1.7 phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml:1.8 --- phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml:1.7 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-hasSiblings.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-hassiblings" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->hasSiblings</refname> <refpurpose> - Indique si le noeud a des frères + Indique si le noeud a des frères </refpurpose> </refnamediv> <refsect1> @@ -16,10 +16,23 @@ <type>bool</type><methodname>tidyNode->hasSiblings</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; + <para> + Indique si le noeud courant a des noeuds frères. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si le noeud a des frères, &false; sinon. + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était appelée <function>tidy_node->has_siblings</function> + Cette fonction était appelée <function>tidy_node->has_siblings</function> dans PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml:1.8 phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml:1.8 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-isasp" xmlns="http://docbook.org/ns/docbook"> @@ -20,9 +20,20 @@ <function>tidyNode->isAsp</function> retourne &true; si le noeud courant est du code ASP, &false; sinon. </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si le noeud est du code ASP, &false; sinon. + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était nommée <function>tidy_node->is_asp</function> en + Cette fonction était nommée <function>tidy_node->is_asp</function> en PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml:1.7 phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml:1.8 --- phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml:1.7 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isComment.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-iscomment" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isComment</refname> <refpurpose> - Indique si le noeud représente un commentaire + Indique si le noeud représente un commentaire </refpurpose> </refnamediv> <refsect1> @@ -16,10 +16,24 @@ <type>bool</type><methodname>tidyNode->isComment</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; + <para> + Indique si le document est un commentaire. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si le document est un commentaire, + &false; sinon. + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était appelée <function>tidy_node->is_comment</function> + Cette fonction était appelée <function>tidy_node->is_comment</function> dans PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml:1.7 phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml:1.8 --- phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml:1.7 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isHtml.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-ishtml" xmlns="http://docbook.org/ns/docbook"> @@ -16,10 +16,23 @@ <type>bool</type><methodname>tidyNode->isHtml</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; + <para> + Indique si le noeud courant est une partie de document HTML. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si le noeud est une partie de document HTML, + &false; sinon. + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était appelée <function>tidy_node->is_html</function> + Cette fonction était appelée <function>tidy_node->is_html</function> dans PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml:1.8 phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml:1.8 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isJste.xml Wed Apr 8 20:48:08 2009 @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-isjste" xmlns="http://docbook.org/ns/docbook"> @@ -16,10 +16,23 @@ <type>bool</type><methodname>tidyNode->isJste</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; + <para> + Indique si le noeud courant est un JSTE. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si le noeud est du JSTE, &false; sinon. + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était appelée <function>tidy_node->is_jste</function> + Cette fonction était appelée <function>tidy_node->is_jste</function> dans PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml:1.9 phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml:1.10 --- phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml:1.9 Sat Jun 21 20:51:46 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-isphp" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isPhp</refname> <refpurpose> - Retourne &true; si ce noeud est en PHP + Indique si un noeud contient du code PHP </refpurpose> </refnamediv> <refsect1> @@ -20,9 +20,20 @@ <function>tidyNode->isPhp</function> retourne &true; si le noeud courant est du code PHP, &false; sinon. </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> + Retourne &true; si le noeud courant est du code PHP, + &false; sinon. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <example> - <title>Récupération du code PHP depuis un document HTML</title> + <title>Récupération de code PHP dans un document HTML</title> <programlisting role="php"> <![CDATA[ <?php @@ -49,13 +60,13 @@ function get_php($node) { -// vérifie si le noeud courant est du code PHP +// vérifie si le noeud courant est du code PHP if($node->isPHP()) { echo "\n\n# PHP node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } -// vérifie si le noeud courant a des enfants +// vérifie si le noeud courant a des enfants if($node->hasChildren()) { foreach($node->child as $child) { get_php($child); @@ -77,12 +88,15 @@ echo 'Bonjour le monde !'; ?> ]]> - </screen> - </example> - </para> + </screen> + </example> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était nommée <function>tidy_node->is_php</function> + Cette fonction était nommée <function>tidy_node->is_php</function> en PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml diff -u phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml:1.7 phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml:1.8 --- phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml:1.7 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/tidy/functions/tidyNode-isText.xml Wed Apr 8 20:48:08 2009 @@ -1,13 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<?xml version='1.0' encoding='utf-8'?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.tidynode-istext" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>tidyNode->isText</refname> <refpurpose> - Indique si le noeud représente du texte (sans balise) + Indique si le noeud représente du texte (sans balise) </refpurpose> </refnamediv> <refsect1> @@ -16,10 +16,24 @@ <type>bool</type><methodname>tidyNode->isText</methodname> <void/> </methodsynopsis> - &warn.undocumented.func; + <para> + Indique si le noeud parent représente du texte (sans balise). + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; sie le noeud représente un texte, + &false; sinon. + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> - Cette fonction était appelée <function>tidy_node->is_text</function> + Cette fonction était appelée <function>tidy_node->is_text</function> dans PHP 4/Tidy 1. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidynode-getparent.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidynode-getparent.xml diff -u phpdoc-fr/reference/tidy/functions/tidynode-getparent.xml:1.3 phpdoc-fr/reference/tidy/functions/tidynode-getparent.xml:1.4 --- phpdoc-fr/reference/tidy/functions/tidynode-getparent.xml:1.3 Sun May 25 09:00:36 2008 +++ phpdoc-fr/reference/tidy/functions/tidynode-getparent.xml Wed Apr 8 20:48:08 2009 @@ -1,7 +1,7 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- Reviewed: yes --> <refentry xml:id="function.tidynode-getparent" xmlns="http://docbook.org/ns/docbook"> <refnamediv>
« previous php.doc.fr (#6982) next »