cvs: phpdoc-fr /reference/aspell/functions aspell-check-raw.xml aspell-check.xml aspell-new.xml aspell-suggest.xml
| From: | Yannick Torres | Date: | Fri, 12 Jan 2007 16:23:03 +0000 |
| Subject: | cvs: phpdoc-fr /reference/aspell/functions aspell-check-raw.xml aspell-check.xml aspell-new.xml aspell-suggest.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5153@lists.php.net to get a copy of this message | ||
yannick Fri Jan 12 16:23:03 2007 UTC
Modified files:
/phpdoc-fr/reference/aspell/functions aspell-check-raw.xml
aspell-check.xml
aspell-new.xml
aspell-suggest.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.10 phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.11 --- phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.10 Mon Mar 7 12:59:32 2005 +++ phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml Fri Jan 12 16:23:03 2007 @@ -1,50 +1,95 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-check-raw"> - <refnamediv> - <refname>aspell_check_raw</refname> - <refpurpose> - Vérifie un mot sans en changer la casse et sans essayer de supprimer - les espaces aux extrémités [Obsolète] - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>aspell_check_raw</methodname> - <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> - <methodparam><type>string</type><parameter>word</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_check_raw</function> vérifie l'orthographe - d'un mot sans en changer la casse, et sans essayer de supprimer les - espaces aux extrémités. Elle retourne &true; - si l'orthographe est bonne, et &false; sinon. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_check_raw</function></title> - <programlisting role="php"> + +<refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check_raw</refname> + <refpurpose> + Vérifie un mot sans en changer la casse et sans essayer de supprimer + les espaces aux extrémités [Obsolète] + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>aspell_check_raw</methodname> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>string</type><parameter>word</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_check_raw</function> vérifie l'orthographe + d'un mot sans en changer la casse, et sans essayer de supprimer les + espaces aux extrémités. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dictionary_link</parameter></term> + <listitem> + <para> + L'identifiant du lien vers le dictionnaire retourné par la fonction + <function>aspell_new</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>word</parameter></term> + <listitem> + <para> + Le mot testé. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si l'orthographe est correct, &false; sinon. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_check_raw</function></title> + <programlisting role="php"> <![CDATA[ <?php -$aspell_link = aspell_new("french"); +$aspell_link = aspell_new("english"); -if (aspell_check_raw($aspell_link,"testt")) { - echo "L'orthographe est OK"; +if (aspell_check_raw($aspell_link, "test")) { + echo "L'orthographe est correct"; } else { - echo "Attention : faute d'orthographe"; + echo "Désolé, l'orthographe est incorrect"; } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>aspell_check</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -65,4 +110,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-check.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-check.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.8 phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.9 --- phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.8 Mon Nov 1 17:39:41 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-check.xml Fri Jan 12 16:23:03 2007 @@ -1,45 +1,90 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-check"> - <refnamediv> - <refname>aspell_check</refname> - <refpurpose>Vérifie un mot [Obsolète]</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>aspell_check</methodname> - <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> - <methodparam><type>string</type><parameter>word</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_check</function> vérifie l'orthographe d'un mot - et retourne &true; si l'orthographe est correcte, &false; sinon. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_check</function></title> - <programlisting role="php"> + +<refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>Vérifie un mot [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>aspell_check</methodname> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>string</type><parameter>word</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_check</function> vérifie l'orthographe d'un mot. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dictionary_link</parameter></term> + <listitem> + <para> + L'identifiant du lien vers le dictionnaire retourné par la fonction + <function>aspell_new</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>word</parameter></term> + <listitem> + <para> + Le mot testé. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si l'orthographe est correct, &false; sinon. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_check</function></title> + <programlisting role="php"> <![CDATA[ <?php -$aspell_link = aspell_new("french"); +$aspell_link = aspell_new("english"); if (aspell_check($aspell_link, "testt")) { - echo "L'orthographe est correcte."; + echo "L'orthographe est correct"; } else { - echo "Désolé, l'orthographe est incorrecte."; + echo "Désolé, l'orthographe est incorrect"; } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>aspell_check_raw</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -60,4 +105,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-new.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-new.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.8 phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.9 --- phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.8 Mon Nov 1 17:39:41 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-new.xml Fri Jan 12 16:23:03 2007 @@ -1,39 +1,74 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-new"> - <refnamediv> - <refname>aspell_new</refname> - <refpurpose>Charge un nouveau dictionnaire [Obsolète]</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>aspell_new</methodname> - <methodparam><type>string</type><parameter>master</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>personal</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_new</function> ouvre un nouveau dictionaire et - retourne un identifiant de dictionnaire pour utilisation ultérieure - avec les fonctions aspell. <function>aspell_new</function> retourne &false; - en cas d'erreur. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_new</function></title> - <programlisting role="php"> + +<refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>Charge un nouveau dictionnaire [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>aspell_new</methodname> + <methodparam><type>string</type><parameter>master</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>personal</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_new</function> ouvre un nouveau dictionaire et + retourne un identifiant de dictionnaire pour utilisation ultérieure + avec les fonctions aspell. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>master</parameter></term> + <listitem> + <para> + Langue. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>personal</parameter></term> + <listitem> + <para> + Par défaut, une chaîne vide. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un identifiant de lien vers un dictionnaire ou &false; si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_new</function></title> + <programlisting role="php"> <![CDATA[ <?php $aspell_link = aspell_new("french"); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -54,4 +89,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-suggest.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-suggest.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.8 phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.9 --- phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.8 Mon Nov 1 17:39:41 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-suggest.xml Fri Jan 12 16:23:03 2007 @@ -1,46 +1,84 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-suggest"> - <refnamediv> - <refname>aspell_suggest</refname> - <refpurpose>Suggère l'orthographe d'un mot [Obsolète]</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>aspell_suggest</methodname> - <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> - <methodparam><type>string</type><parameter>word</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_suggest</function> retourne un tableau contenant + +<refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose>Suggère l'orthographe d'un mot [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>aspell_suggest</methodname> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>string</type><parameter>word</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_suggest</function> retourne un tableau contenant les orthographes possibles d'un mot mal orthographié. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_suggest</function></title> - <programlisting role="php"> + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dictionary_link</parameter></term> + <listitem> + <para> + L'identifiant du lien vers le dictionnaire retourné par la fonction + <function>aspell_new</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>word</parameter></term> + <listitem> + <para> + Le mot testé. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un tableau de suggestions. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_suggest</function></title> + <programlisting role="php"> <![CDATA[ <?php + $aspell_link = aspell_new("french"); -if (!aspell_check($aspell_link, "testt")) { - $suggestions = aspell_suggest($aspell_link, "testt"); - +if (!aspell_check($aspell_link, "test")) { + $suggestions = aspell_suggest($aspell_link, "test"); + foreach ($suggestions as $suggestion) { - echo "Orthographe envisageable : $suggestion<br />\n"; + echo "Suggestions possibles : $suggestion<br />\n"; } } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -61,4 +99,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.10 phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.11 --- phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.10 Mon Mar 7 12:59:32 2005 +++ phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml Fri Jan 12 16:23:03 2007 @@ -1,50 +1,95 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-check-raw"> - <refnamediv> - <refname>aspell_check_raw</refname> - <refpurpose> - Vérifie un mot sans en changer la casse et sans essayer de supprimer - les espaces aux extrémités [Obsolète] - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>aspell_check_raw</methodname> - <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> - <methodparam><type>string</type><parameter>word</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_check_raw</function> vérifie l'orthographe - d'un mot sans en changer la casse, et sans essayer de supprimer les - espaces aux extrémités. Elle retourne &true; - si l'orthographe est bonne, et &false; sinon. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_check_raw</function></title> - <programlisting role="php"> + +<refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check_raw</refname> + <refpurpose> + Vérifie un mot sans en changer la casse et sans essayer de supprimer + les espaces aux extrémités [Obsolète] + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>aspell_check_raw</methodname> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>string</type><parameter>word</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_check_raw</function> vérifie l'orthographe + d'un mot sans en changer la casse, et sans essayer de supprimer les + espaces aux extrémités. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dictionary_link</parameter></term> + <listitem> + <para> + L'identifiant du lien vers le dictionnaire retourné par la fonction + <function>aspell_new</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>word</parameter></term> + <listitem> + <para> + Le mot testé. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si l'orthographe est correct, &false; sinon. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_check_raw</function></title> + <programlisting role="php"> <![CDATA[ <?php -$aspell_link = aspell_new("french"); +$aspell_link = aspell_new("english"); -if (aspell_check_raw($aspell_link,"testt")) { - echo "L'orthographe est OK"; +if (aspell_check_raw($aspell_link, "test")) { + echo "L'orthographe est correct"; } else { - echo "Attention : faute d'orthographe"; + echo "Désolé, l'orthographe est incorrect"; } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>aspell_check</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -65,4 +110,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-check.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-check.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.8 phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.9 --- phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.8 Mon Nov 1 17:39:41 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-check.xml Fri Jan 12 16:23:03 2007 @@ -1,45 +1,90 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-check"> - <refnamediv> - <refname>aspell_check</refname> - <refpurpose>Vérifie un mot [Obsolète]</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>aspell_check</methodname> - <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> - <methodparam><type>string</type><parameter>word</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_check</function> vérifie l'orthographe d'un mot - et retourne &true; si l'orthographe est correcte, &false; sinon. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_check</function></title> - <programlisting role="php"> + +<refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>Vérifie un mot [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>aspell_check</methodname> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>string</type><parameter>word</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_check</function> vérifie l'orthographe d'un mot. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dictionary_link</parameter></term> + <listitem> + <para> + L'identifiant du lien vers le dictionnaire retourné par la fonction + <function>aspell_new</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>word</parameter></term> + <listitem> + <para> + Le mot testé. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si l'orthographe est correct, &false; sinon. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_check</function></title> + <programlisting role="php"> <![CDATA[ <?php -$aspell_link = aspell_new("french"); +$aspell_link = aspell_new("english"); if (aspell_check($aspell_link, "testt")) { - echo "L'orthographe est correcte."; + echo "L'orthographe est correct"; } else { - echo "Désolé, l'orthographe est incorrecte."; + echo "Désolé, l'orthographe est incorrect"; } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>aspell_check_raw</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -60,4 +105,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-new.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-new.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.8 phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.9 --- phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.8 Mon Nov 1 17:39:41 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-new.xml Fri Jan 12 16:23:03 2007 @@ -1,39 +1,74 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-new"> - <refnamediv> - <refname>aspell_new</refname> - <refpurpose>Charge un nouveau dictionnaire [Obsolète]</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>aspell_new</methodname> - <methodparam><type>string</type><parameter>master</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>personal</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_new</function> ouvre un nouveau dictionaire et - retourne un identifiant de dictionnaire pour utilisation ultérieure - avec les fonctions aspell. <function>aspell_new</function> retourne &false; - en cas d'erreur. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_new</function></title> - <programlisting role="php"> + +<refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>Charge un nouveau dictionnaire [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>aspell_new</methodname> + <methodparam><type>string</type><parameter>master</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>personal</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_new</function> ouvre un nouveau dictionaire et + retourne un identifiant de dictionnaire pour utilisation ultérieure + avec les fonctions aspell. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>master</parameter></term> + <listitem> + <para> + Langue. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>personal</parameter></term> + <listitem> + <para> + Par défaut, une chaîne vide. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un identifiant de lien vers un dictionnaire ou &false; si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_new</function></title> + <programlisting role="php"> <![CDATA[ <?php $aspell_link = aspell_new("french"); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -54,4 +89,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/aspell/functions/aspell-suggest.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/aspell/functions/aspell-suggest.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.8 phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.9 --- phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.8 Mon Nov 1 17:39:41 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-suggest.xml Fri Jan 12 16:23:03 2007 @@ -1,46 +1,84 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.aspell-suggest"> - <refnamediv> - <refname>aspell_suggest</refname> - <refpurpose>Suggère l'orthographe d'un mot [Obsolète]</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>aspell_suggest</methodname> - <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> - <methodparam><type>string</type><parameter>word</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>aspell_suggest</function> retourne un tableau contenant + +<refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose>Suggère l'orthographe d'un mot [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>aspell_suggest</methodname> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>string</type><parameter>word</parameter></methodparam> + </methodsynopsis> + <para> + <function>aspell_suggest</function> retourne un tableau contenant les orthographes possibles d'un mot mal orthographié. - </simpara> - <para> - <example> - <title>Exemple avec <function>aspell_suggest</function></title> - <programlisting role="php"> + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dictionary_link</parameter></term> + <listitem> + <para> + L'identifiant du lien vers le dictionnaire retourné par la fonction + <function>aspell_new</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>word</parameter></term> + <listitem> + <para> + Le mot testé. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un tableau de suggestions. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>aspell_suggest</function></title> + <programlisting role="php"> <![CDATA[ <?php + $aspell_link = aspell_new("french"); -if (!aspell_check($aspell_link, "testt")) { - $suggestions = aspell_suggest($aspell_link, "testt"); - +if (!aspell_check($aspell_link, "test")) { + $suggestions = aspell_suggest($aspell_link, "test"); + foreach ($suggestions as $suggestion) { - echo "Orthographe envisageable : $suggestion<br />\n"; + echo "Suggestions possibles : $suggestion<br />\n"; } } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -61,4 +99,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file