cvs: phpdoc-fr /reference/aspell configure.xml reference.xml /reference/aspell/functions aspell-check-raw.xml aspell-check.xml aspell-new.xml
aspell-suggest.xml

From: Date: Tue, 26 Aug 2003 12:57:18 +0000
Subject: cvs: phpdoc-fr /reference/aspell configure.xml reference.xml /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-723@lists.php.net to get a copy of this message
dams Tue Aug 26 08:57:18 2003 EDT Added files: /phpdoc-fr/reference/aspell configure.xml Modified files: /phpdoc-fr/reference/aspell reference.xml /phpdoc-fr/reference/aspell/functions aspell-check-raw.xml aspell-check.xml aspell-new.xml aspell-suggest.xml Log: updating proto and examples

Index: phpdoc-fr/reference/aspell/reference.xml diff -u phpdoc-fr/reference/aspell/reference.xml:1.2 phpdoc-fr/reference/aspell/reference.xml:1.3 --- phpdoc-fr/reference/aspell/reference.xml:1.2 Mon Apr 15 20:52:35 2002 +++ phpdoc-fr/reference/aspell/reference.xml Tue Aug 26 08:57:17 2003 @@ -1,30 +1,45 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.aspell"> - <title>Aspell</title> - <titleabbrev>aspell</titleabbrev> - <partintro> - <simpara> + <title>Aspell [Obs.]</title> + <titleabbrev>Aspell</titleabbrev> + <partintro> + <section id="aspell.intro"> + &reftitle.intro; + <para> Les fonctions Aspell vous permettent de v&eacute;rifier l'orthographe d'un mot, et d'offrir des suggestions de corrections. Plusieurs langues sont disponibles, comme le fran&ccedil;ais, l'anglais, l'allemand, le su&eacute;dois ou le danois. - </simpara> - <note> - <simpara> + </para> + <note> + <para> + Cette extension a &eacute;t&eacute; retir&eacute;e de &php; est n'est plus disponible + depuis &php; 4.3.0. Si vou voulez utiliser un outil de correction + orthographique avec &php;, voyez plut&ocirc;t <link linkend="ref.pspell">pspell</link>. + Elle utilise la librairie pspell, et fonctionne avec les nouvelles versions + de Aspell. + </para> + </note> + </section> + + <section id="aspell.requirements"> + &reftitle.required; + <para> Aspell fonctionne avec de tr&egrave;s vielles versions (jusqu'&agrave; la version .27.* ou presque) de la librairie Aspell. Ce module, et ces versions - d'Aspell ne sont plus support&eacute;es. Si vous voulez exploiter des - capacit&eacute;s de v&eacute;rifications orthographiques en PHP, - utilisez plut&ocirc;t <link linkend="ref.pspell">pspell</link>. - Ce module utilise la librairie pspell qui fonctionne avec les - nouvelles versions de Aspell. - </simpara> - </note> - <simpara> - Vous avez besoin de la librairie Aspell, disponible &agrave; : - <ulink url="&url.aspell;">&url.aspell;</ulink>. - </simpara> - </partintro> + d'Aspell disponibles sur <ulink url="&url.aspell;">&url.aspell;</ulink>. + </para> + </section> + + &reference.aspell.configure; + + <section id="aspell.seealso"> + &reftitle.seealso; + <para> + Voir aussi <link linkend="ref.pspell">pspell</link>. + </para> + </section> + </partintro> &reference.aspell.functions; Index: phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.2 phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.3 --- phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.2 Mon Oct 14 18:38:22 2002 +++ phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml Tue Aug 26 08:57:17 2003 @@ -12,8 +12,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>aspell_check_raw</methodname> - <methodparam><type>resource</type><parameter>dictionary_link</parameter></methodparam> + <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> Index: phpdoc-fr/reference/aspell/functions/aspell-check.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.1 phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.2 --- phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.1 Sun Apr 14 20:22:13 2002 +++ phpdoc-fr/reference/aspell/functions/aspell-check.xml Tue Aug 26 08:57:17 2003 @@ -9,8 +9,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>boolean</type><methodname>aspell_check</methodname> - <methodparam><type>resource</type><parameter>dictionary_link</parameter></methodparam> + <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> @@ -22,14 +22,16 @@ <example> <title>Exemple avec <function>aspell_check</function></title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php $aspell_link = aspell_new("english"); if (aspell_check($aspell_link,"testt")) { echo "L'orthographe est correcte."; } else { echo "D&eacute;sol&eacute;, l'orthographe est incorrecte."; } -?&gt; +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/aspell/functions/aspell-new.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.1 phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.2 --- phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.1 Sun Apr 14 20:22:14 2002 +++ phpdoc-fr/reference/aspell/functions/aspell-new.xml Tue Aug 26 08:57:17 2003 @@ -8,11 +8,11 @@ </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>resource</type><methodname>aspell_new</methodname> - <methodparam><type>string</type><parameter>master</parameter></methodparam> - <methodparam><type>string</type><parameter>personal</parameter></methodparam> - </methodsynopsis> + <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&eacute;rieure @@ -23,9 +23,11 @@ <example> <title>Exemple avec <function>aspell_new</function></title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php $aspell_link = aspell_new("english"); -?&gt; +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/aspell/functions/aspell-suggest.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.1 phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.2 --- phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.1 Sun Apr 14 20:22:14 2002 +++ phpdoc-fr/reference/aspell/functions/aspell-suggest.xml Tue Aug 26 08:57:17 2003 @@ -10,7 +10,7 @@ <title>Description</title> <methodsynopsis> <type>array</type><methodname>aspell_suggest</methodname> - <methodparam><type>resource</type><parameter>dictionary_link</parameter></methodparam> + <methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam> <methodparam><type>string</type><parameter>word</parameter></methodparam> </methodsynopsis> <simpara> @@ -21,15 +21,17 @@ <example> <title>Exemple avec <function>aspell_suggest</function></title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php $aspell_link = aspell_new("french"); if (!aspell_check($aspell_link,"testt")) { $suggestions=aspell_suggest($aspell_link,"testt"); - for($i=0; $i &lt; count($suggestions); $i++) { - echo "Orthographes envisageables : " . $suggestions[$i] . "&lt;br&gt;"; + for($i=0; $i < count($suggestions); $i++) { + echo "Orthographes envisageables : " . $suggestions[$i] . "<BR>"; } } -?&gt; +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/aspell/configure.xml +++ phpdoc-fr/reference/aspell/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="aspell.installation"> &reftitle.install; <para id="aspell.configure"> En &php; 4, ces fonctions ne sont disponibles que si &php; a &eacute;t&eacute; compil&eacute; avec l'option <option role="configure">--enable-mailparse</option>. </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.fr (#723) next »