cvs: phpdoc-fr /appendices reserved.xml tokens.xml /language operators.xml /language/oop5 iterations.xml /language/predefined iterator.xml
traversable.xml /language/predefined/iterator next.xml /language/types array.xml /reference/array/functions array-walk.xml array.xml each.xml
range.xml /reference/com examples.xml /reference/com/functions com-isenum.xml /reference/dom/domnodelist item.xml /reference/pdo_sqlite/functions
PDO-sqliteCreateFunction.xml /reference/sdo examples.xml /reference/spl arrayiterator.xml /reference/sqlite/functions sqlite-create-function.xml
| From: | Damien Seguy | Date: | Mon, 16 Feb 2009 15:43:32 +0000 |
| Subject: | cvs: phpdoc-fr /appendices reserved.xml tokens.xml /language operators.xml /language/oop5 iterations.xml /language/predefined iterator.xml traversable.xml /language/predefined/iterator next.xml /language/types array.xml /reference/array/functions array-walk.xml array.xml each.xml range.xml /reference/com examples.xml /reference/com/functions com-isenum.xml /reference/dom/domnodelist item.xml /reference/pdo_sqlite/functions PDO-sqliteCreateFunction.xml /reference/sdo examples.xml /reference/spl arrayiterator.xml /reference/sqlite/functions sqlite-create-function.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6706@lists.php.net to get a copy of this message | ||
dams Mon Feb 16 15:43:32 2009 UTC
Modified files:
/phpdoc-fr/language/predefined iterator.xml traversable.xml
/phpdoc-fr/language/predefined/iterator next.xml
/phpdoc-fr/appendices reserved.xml tokens.xml
/phpdoc-fr/language/oop5 iterations.xml
/phpdoc-fr/language/types array.xml
/phpdoc-fr/reference/array/functions array-walk.xml array.xml
each.xml range.xml
/phpdoc-fr/reference/com examples.xml
/phpdoc-fr/reference/com/functions com-isenum.xml
/phpdoc-fr/language operators.xml
/phpdoc-fr/reference/pdo_sqlite/functions
PDO-sqliteCreateFunction.xml
/phpdoc-fr/reference/sdo examples.xml
/phpdoc-fr/reference/spl arrayiterator.xml
/phpdoc-fr/reference/sqlite/functions sqlite-create-function.xml
/phpdoc-fr/reference/dom/domnodelist item.xml
Log:
synch with new entity
http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/iterator.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/language/predefined/iterator.xml diff -u phpdoc-fr/language/predefined/iterator.xml:1.1 phpdoc-fr/language/predefined/iterator.xml:1.2 --- phpdoc-fr/language/predefined/iterator.xml:1.1 Fri Jan 2 22:19:02 2009 +++ phpdoc-fr/language/predefined/iterator.xml Mon Feb 16 15:43:31 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <phpdoc:classref xml:id="class.iterator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -51,7 +51,7 @@ <title>Exemple simple</title> <para> Cet exemple montre l'ordre d'appel des méthodes lors d'un appel - à l'instruction <function>foreach</function> sur un itérateur. + à l'instruction &foreach; sur un itérateur. </para> <programlisting role="php"> <![CDATA[ http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/traversable.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/language/predefined/traversable.xml diff -u phpdoc-fr/language/predefined/traversable.xml:1.1 phpdoc-fr/language/predefined/traversable.xml:1.2 --- phpdoc-fr/language/predefined/traversable.xml:1.1 Fri Jan 2 22:19:02 2009 +++ phpdoc-fr/language/predefined/traversable.xml Mon Feb 16 15:43:31 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <phpdoc:classref xml:id="class.traversable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -15,7 +15,7 @@ &reftitle.intro; <para> Interface permettant de détecter si une classe peut - être parcourue en utilisant <function>foreach</function>. + être parcourue en utilisant &foreach;. </para> <para> L'interface de base d'abstraction ne peut être implémentée seule. @@ -25,7 +25,7 @@ <note> <para> Les classes internes qui implémentent cette interface peuvent être utilisées - dans une constructeur <function>foreach</function> et n'ont pas besoin d'implémenter + dans une constructeur &foreach; et n'ont pas besoin d'implémenter <classname>IteratorAggregate</classname> ou <classname>Iterator</classname>. </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/iterator/next.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/language/predefined/iterator/next.xml diff -u phpdoc-fr/language/predefined/iterator/next.xml:1.2 phpdoc-fr/language/predefined/iterator/next.xml:1.3 --- phpdoc-fr/language/predefined/iterator/next.xml:1.2 Wed Feb 11 07:22:50 2009 +++ phpdoc-fr/language/predefined/iterator/next.xml Mon Feb 16 15:43:31 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="iterator.next" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -21,7 +21,7 @@ <note> <para> Cette méthode est appelée <emphasis>après</emphasis> chaque - boucle <function>foreach</function>. + boucle &foreach;. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/reserved.xml?r1=1.68&r2=1.69&diff_format=u Index: phpdoc-fr/appendices/reserved.xml diff -u phpdoc-fr/appendices/reserved.xml:1.68 phpdoc-fr/appendices/reserved.xml:1.69 --- phpdoc-fr/appendices/reserved.xml:1.68 Thu Jan 8 20:42:25 2009 +++ phpdoc-fr/appendices/reserved.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.68 $ --> -<!-- EN-Revision: 1.80 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.69 $ --> +<!-- EN-Revision: 1.81 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -119,7 +119,7 @@ <link linkend="control-structures.for">for</link> </entry> <entry> - <link linkend="control-structures.foreach">foreach</link> + &foreach; </entry> <entry> <link linkend="functions.user-defined">function</link> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/tokens.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/appendices/tokens.xml diff -u phpdoc-fr/appendices/tokens.xml:1.33 phpdoc-fr/appendices/tokens.xml:1.34 --- phpdoc-fr/appendices/tokens.xml:1.33 Sun Jan 25 20:03:01 2009 +++ phpdoc-fr/appendices/tokens.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.32 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.33 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="tokens" xmlns="http://docbook.org/ns/docbook"> @@ -51,7 +51,7 @@ <row> <entry>T_AS</entry> <entry>as</entry> - <entry><link linkend="control-structures.foreach">foreach</link></entry> + <entry>&foreach;</entry> </row> <row> <entry>T_BAD_CHARACTER</entry> @@ -253,7 +253,7 @@ <row> <entry>T_ENDFOREACH</entry> <entry>endforeach</entry> - <entry><link linkend="control-structures.foreach">foreach</link>, <link + <entry>&foreach;, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> @@ -313,7 +313,7 @@ <row> <entry>T_FOREACH</entry> <entry>foreach</entry> - <entry><link linkend="control-structures.foreach">foreach</link></entry> + <entry>&foreach;</entry> </row> <row> <entry>T_FUNCTION</entry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/oop5/iterations.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/language/oop5/iterations.xml diff -u phpdoc-fr/language/oop5/iterations.xml:1.15 phpdoc-fr/language/oop5/iterations.xml:1.16 --- phpdoc-fr/language/oop5/iterations.xml:1.15 Sun Jun 8 18:44:27 2008 +++ phpdoc-fr/language/oop5/iterations.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <sect1 xml:id="language.oop5.iterations" xmlns="http://docbook.org/ns/docbook"> @@ -8,7 +8,7 @@ <para> PHP 5 fournit une façon de définir les objets de manière à ce qu'on puisse parcourir une liste de membres avec une structure - <link linkend="control-structures.foreach">foreach</link>. Par défaut, toutes + &foreach;. Par défaut, toutes les propriétés <link linkend="language.oop5.visibility">visibles</link> seront utilisées pour le parcours. </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/types/array.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/language/types/array.xml diff -u phpdoc-fr/language/types/array.xml:1.8 phpdoc-fr/language/types/array.xml:1.9 --- phpdoc-fr/language/types/array.xml:1.8 Thu Jan 1 13:12:23 2009 +++ phpdoc-fr/language/types/array.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <sect1 xml:id="language.types.array"> @@ -287,8 +287,8 @@ </note> <para> - La structure de contrôle <link linkend="control-structures.foreach">foreach</link> - existe tout spécialement pour les tableaux. Elle fournit une manière pratique + La structure de contrôle &foreach; existe tout spécialement + pour les tableaux. Elle fournit une manière pratique de parcourir un tableau. </para> </sect2> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/array-walk.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/reference/array/functions/array-walk.xml diff -u phpdoc-fr/reference/array/functions/array-walk.xml:1.33 phpdoc-fr/reference/array/functions/array-walk.xml:1.34 --- phpdoc-fr/reference/array/functions/array-walk.xml:1.33 Sun Nov 30 22:01:11 2008 +++ phpdoc-fr/reference/array/functions/array-walk.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.29 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.30 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.array-walk" xmlns="http://docbook.org/ns/docbook"> @@ -182,7 +182,7 @@ <member><function>call_user_func_array</function></member> <member><function>array_map</function></member> <member>&seealso.callback;</member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> </simplelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/array.xml?r1=1.26&r2=1.27&diff_format=u Index: phpdoc-fr/reference/array/functions/array.xml diff -u phpdoc-fr/reference/array/functions/array.xml:1.26 phpdoc-fr/reference/array/functions/array.xml:1.27 --- phpdoc-fr/reference/array/functions/array.xml:1.26 Sun Jun 8 19:52:16 2008 +++ phpdoc-fr/reference/array/functions/array.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.27 $ --> +<!-- EN-Revision: 1.18 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.array" xmlns="http://docbook.org/ns/docbook"> @@ -173,7 +173,7 @@ <member><function>list</function></member> <member><function>count</function></member> <member><function>range</function></member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> <member>Le type <link linkend="language.types.array">array</link></member> </simplelist> </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/each.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc-fr/reference/array/functions/each.xml diff -u phpdoc-fr/reference/array/functions/each.xml:1.30 phpdoc-fr/reference/array/functions/each.xml:1.31 --- phpdoc-fr/reference/array/functions/each.xml:1.30 Sat Nov 29 19:07:29 2008 +++ phpdoc-fr/reference/array/functions/each.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> -<!-- EN-Revision: 1.22 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.31 $ --> +<!-- EN-Revision: 1.23 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.each" xmlns="http://docbook.org/ns/docbook"> @@ -168,7 +168,7 @@ <member><function>reset</function></member> <member><function>next</function></member> <member><function>prev</function></member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> <member><link linkend="language.oop5.iterations">Itération d'objet</link></member> </simplelist> </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/range.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc-fr/reference/array/functions/range.xml diff -u phpdoc-fr/reference/array/functions/range.xml:1.24 phpdoc-fr/reference/array/functions/range.xml:1.25 --- phpdoc-fr/reference/array/functions/range.xml:1.24 Sun Jun 8 19:52:16 2008 +++ phpdoc-fr/reference/array/functions/range.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> -<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.25 $ --> +<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.range" xmlns="http://docbook.org/ns/docbook"> @@ -145,7 +145,7 @@ <simplelist> <member><function>shuffle</function></member> <member><function>array_fill</function></member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> </simplelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/com/examples.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/com/examples.xml diff -u phpdoc-fr/reference/com/examples.xml:1.3 phpdoc-fr/reference/com/examples.xml:1.4 --- phpdoc-fr/reference/com/examples.xml:1.3 Sat Jun 21 20:38:00 2008 +++ phpdoc-fr/reference/com/examples.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="com.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -9,10 +9,9 @@ <section xml:id="com.examples.foreach"> <title>For Each</title> <para> - Avec PHP 5, vous pouvez utiliser la structure de contrôle <link - linkend="control-structures.foreach">foreach</link> de PHP pour passe en - boucle à travers le contenu d'un IEnumVariant COM/OLE standard. - Cela signifie que vous pouvez utiliser foreach aux endroits où + Avec PHP 5, vous pouvez utiliser la structure de contrôle &foreach; + de PHP pour passe en boucle à travers le contenu d'un IEnumVariant COM/OLE standard. + Cela signifie que vous pouvez utiliser &foreach; aux endroits où vous auriez pu utiliser <literal>For Each</literal> dans du code VB/ASP. </para> <para> @@ -88,10 +87,10 @@ <listitem> <para> Bouclez sur les SafeArrays ("vrais" tableaux) en utilisant la structure - de contrôle <xref linkend="control-structures.foreach"/>. Cela fonctionne + de contrôle &foreach;. Cela fonctionne car un SafeArrays comporte des informations à propos de sa taille. Si une propriété à la façon des tableaux implémente IEnumVariant, alors vous - pouvez aussi utiliser foreach pour cette propriété ; lisez <xref + pouvez aussi utiliser &foreach; pour cette propriété ; lisez <xref linkend="com.examples.foreach"/> pour plus d'informations à ce sujet. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/com/functions/com-isenum.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/com/functions/com-isenum.xml diff -u phpdoc-fr/reference/com/functions/com-isenum.xml:1.18 phpdoc-fr/reference/com/functions/com-isenum.xml:1.19 --- phpdoc-fr/reference/com/functions/com-isenum.xml:1.18 Sun Nov 30 22:01:11 2008 +++ phpdoc-fr/reference/com/functions/com-isenum.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id='function.com-isenum' xmlns="http://docbook.org/ns/docbook"> @@ -47,7 +47,7 @@ <note> <para> Cette fonction n'existe pas en PHP 5 ; utilisez l'instruction - <link linkend="control-structures.foreach">foreach</link> pour parcourir + &foreach; pour parcourir le contenu des objets COM. Voir <xref linkend="com.examples.foreach"/> pour plus de détails. </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/operators.xml?r1=1.109&r2=1.110&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.109 phpdoc-fr/language/operators.xml:1.110 --- phpdoc-fr/language/operators.xml:1.109 Thu Feb 12 07:21:05 2009 +++ phpdoc-fr/language/operators.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.109 $ --> -<!-- EN-Revision: 1.130 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.110 $ --> +<!-- EN-Revision: 1.131 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> @@ -828,7 +828,7 @@ vous pouvez ajouter @ aux variables, fonctions, à <function>include</function>, aux constantes, etc. Vous ne pourrez pas le faire avec des éléments de langage tels que les classes, - <literal>if</literal> et <literal>foreach</literal>, etc. + <literal>if</literal> et &foreach;, etc. </simpara> </note> <simpara> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml diff -u phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml:1.11 phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml:1.12 --- phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml:1.11 Thu Feb 12 23:17:30 2009 +++ phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.pdo-sqlitecreatefunction" xmlns="http://docbook.org/ns/docbook"> @@ -113,7 +113,7 @@ </para> <para> La beauté de cette technique est que vous n'avez pas à traiter le résultat - en utilisant une boucle foreach() après que vous ayez récupéré les données. + en utilisant une boucle &foreach; après que vous ayez récupéré les données. </para> <!-- Pas pour PDO, il ne le fait pas pour le moment <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/sdo/examples.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/sdo/examples.xml diff -u phpdoc-fr/reference/sdo/examples.xml:1.5 phpdoc-fr/reference/sdo/examples.xml:1.6 --- phpdoc-fr/reference/sdo/examples.xml:1.5 Sat Jun 21 20:51:44 2008 +++ phpdoc-fr/reference/sdo/examples.xml Mon Feb 16 15:43:32 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <chapter xml:id="sdo.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; @@ -119,7 +119,8 @@ <para> Nous pouvons également accéder aux propriétés en utilisant un tableau associatif. La forme la plus simple est d'utiliser le nom de la propriété dans le tableau indexé. - Par exemple, ce qui suit définit le nom de la compagnie et récupère l'<literal>"employeeOfTheMonth"</literal>. + Par exemple, ce qui suit définit le nom de la compagnie et récupère + l'<literal>"employeeOfTheMonth"</literal>. </para> <programlisting role="php" xml:id="sdo.examples.simplexpath"> <![CDATA[ @@ -136,7 +137,8 @@ <example> <title>Itération d'objet de données</title> <para> - Vous pouvons itérer les propriétés d'un objet de données en utilisant l'instruction foreach. + Vous pouvons passer en revue les propriétés d'un objet de données + en utilisant l'instruction &foreach;. </para> <programlisting role="php" xml:id="sdo.examples.doiter"> <![CDATA[ @@ -204,8 +206,8 @@ <example> <title>Itération d'une propriété à valeurs multiples</title> <para> - Les propriétés à valeurs multiples peuvent être itérées en utilisant - l'instruction foreach. + Les propriétés à valeurs multiples peuvent être passées en + revue en utilisant l'instruction &foreach;. </para> <programlisting role="php" xml:id="sdo.examples.mvpiter"> <![CDATA[ @@ -601,7 +603,7 @@ <title>Itération de Séquence</title> <para> Nous pouvons itérer à travers des valeurs de séquence individuellement - en utilisant foreach. L'exemple suivant passe au travers des valeurs + en utilisant &foreach;. L'exemple suivant passe au travers des valeurs individuelles dans l'ordre séquentiel. </para> <programlisting role="php" xml:id="sdo.examples.seqiter"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/arrayiterator.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/spl/arrayiterator.xml diff -u phpdoc-fr/reference/spl/arrayiterator.xml:1.2 phpdoc-fr/reference/spl/arrayiterator.xml:1.3 --- phpdoc-fr/reference/spl/arrayiterator.xml:1.2 Wed Jan 7 10:56:24 2009 +++ phpdoc-fr/reference/spl/arrayiterator.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.arrayiterator" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -18,9 +18,10 @@ </para> <para> Lorsque vous voulez passer en revue le même tableau plusieurs fois, vous devez - instancier ArrayObject et le laisser créer les instances ArrayIterator - qui s'y réfère, soit en utilisant l'instruction foreach, soit en appelant - la méthode getIterator() manuellement. + instancier <classname>ArrayObject</classname> et le laisser créer les objets + <classname>ArrayIterator</classname> qui s'y réfère, soit en utilisant + l'instruction &foreach;, soit en appelant la méthode <function>getIterator()</function> + manuellement. </para> </section> <!-- }}} --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml diff -u phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml:1.23 phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml:1.24 --- phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml:1.23 Thu Jan 22 20:07:01 2009 +++ phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> -<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.24 $ --> +<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.sqlite-create-function" xmlns="http://docbook.org/ns/docbook"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/domnodelist/item.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/domnodelist/item.xml diff -u phpdoc-fr/reference/dom/domnodelist/item.xml:1.1 phpdoc-fr/reference/dom/domnodelist/item.xml:1.2 --- phpdoc-fr/reference/dom/domnodelist/item.xml:1.1 Tue Mar 25 22:11:48 2008 +++ phpdoc-fr/reference/dom/domnodelist/item.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id='domnodelist.item' xmlns="http://docbook.org/ns/docbook"> @@ -73,8 +73,8 @@ ]]> </programlisting> <para> - Alternativement, vous pouvez utiliser la structure foreach, qui est une manière - plus convenable : + Alternativement, vous pouvez utiliser la structure &foreach;, + qui est une manière plus convenable : </para> <programlisting role="php"> <![CDATA[
http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/iterator.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/language/predefined/iterator.xml diff -u phpdoc-fr/language/predefined/iterator.xml:1.1 phpdoc-fr/language/predefined/iterator.xml:1.2 --- phpdoc-fr/language/predefined/iterator.xml:1.1 Fri Jan 2 22:19:02 2009 +++ phpdoc-fr/language/predefined/iterator.xml Mon Feb 16 15:43:31 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <phpdoc:classref xml:id="class.iterator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -51,7 +51,7 @@ <title>Exemple simple</title> <para> Cet exemple montre l'ordre d'appel des méthodes lors d'un appel - à l'instruction <function>foreach</function> sur un itérateur. + à l'instruction &foreach; sur un itérateur. </para> <programlisting role="php"> <![CDATA[ http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/traversable.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/language/predefined/traversable.xml diff -u phpdoc-fr/language/predefined/traversable.xml:1.1 phpdoc-fr/language/predefined/traversable.xml:1.2 --- phpdoc-fr/language/predefined/traversable.xml:1.1 Fri Jan 2 22:19:02 2009 +++ phpdoc-fr/language/predefined/traversable.xml Mon Feb 16 15:43:31 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <phpdoc:classref xml:id="class.traversable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -15,7 +15,7 @@ &reftitle.intro; <para> Interface permettant de détecter si une classe peut - être parcourue en utilisant <function>foreach</function>. + être parcourue en utilisant &foreach;. </para> <para> L'interface de base d'abstraction ne peut être implémentée seule. @@ -25,7 +25,7 @@ <note> <para> Les classes internes qui implémentent cette interface peuvent être utilisées - dans une constructeur <function>foreach</function> et n'ont pas besoin d'implémenter + dans une constructeur &foreach; et n'ont pas besoin d'implémenter <classname>IteratorAggregate</classname> ou <classname>Iterator</classname>. </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/iterator/next.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/language/predefined/iterator/next.xml diff -u phpdoc-fr/language/predefined/iterator/next.xml:1.2 phpdoc-fr/language/predefined/iterator/next.xml:1.3 --- phpdoc-fr/language/predefined/iterator/next.xml:1.2 Wed Feb 11 07:22:50 2009 +++ phpdoc-fr/language/predefined/iterator/next.xml Mon Feb 16 15:43:31 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <refentry xml:id="iterator.next" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -21,7 +21,7 @@ <note> <para> Cette méthode est appelée <emphasis>après</emphasis> chaque - boucle <function>foreach</function>. + boucle &foreach;. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/reserved.xml?r1=1.68&r2=1.69&diff_format=u Index: phpdoc-fr/appendices/reserved.xml diff -u phpdoc-fr/appendices/reserved.xml:1.68 phpdoc-fr/appendices/reserved.xml:1.69 --- phpdoc-fr/appendices/reserved.xml:1.68 Thu Jan 8 20:42:25 2009 +++ phpdoc-fr/appendices/reserved.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.68 $ --> -<!-- EN-Revision: 1.80 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.69 $ --> +<!-- EN-Revision: 1.81 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -119,7 +119,7 @@ <link linkend="control-structures.for">for</link> </entry> <entry> - <link linkend="control-structures.foreach">foreach</link> + &foreach; </entry> <entry> <link linkend="functions.user-defined">function</link> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/tokens.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/appendices/tokens.xml diff -u phpdoc-fr/appendices/tokens.xml:1.33 phpdoc-fr/appendices/tokens.xml:1.34 --- phpdoc-fr/appendices/tokens.xml:1.33 Sun Jan 25 20:03:01 2009 +++ phpdoc-fr/appendices/tokens.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.32 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.33 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="tokens" xmlns="http://docbook.org/ns/docbook"> @@ -51,7 +51,7 @@ <row> <entry>T_AS</entry> <entry>as</entry> - <entry><link linkend="control-structures.foreach">foreach</link></entry> + <entry>&foreach;</entry> </row> <row> <entry>T_BAD_CHARACTER</entry> @@ -253,7 +253,7 @@ <row> <entry>T_ENDFOREACH</entry> <entry>endforeach</entry> - <entry><link linkend="control-structures.foreach">foreach</link>, <link + <entry>&foreach;, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> @@ -313,7 +313,7 @@ <row> <entry>T_FOREACH</entry> <entry>foreach</entry> - <entry><link linkend="control-structures.foreach">foreach</link></entry> + <entry>&foreach;</entry> </row> <row> <entry>T_FUNCTION</entry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/oop5/iterations.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/language/oop5/iterations.xml diff -u phpdoc-fr/language/oop5/iterations.xml:1.15 phpdoc-fr/language/oop5/iterations.xml:1.16 --- phpdoc-fr/language/oop5/iterations.xml:1.15 Sun Jun 8 18:44:27 2008 +++ phpdoc-fr/language/oop5/iterations.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <sect1 xml:id="language.oop5.iterations" xmlns="http://docbook.org/ns/docbook"> @@ -8,7 +8,7 @@ <para> PHP 5 fournit une façon de définir les objets de manière à ce qu'on puisse parcourir une liste de membres avec une structure - <link linkend="control-structures.foreach">foreach</link>. Par défaut, toutes + &foreach;. Par défaut, toutes les propriétés <link linkend="language.oop5.visibility">visibles</link> seront utilisées pour le parcours. </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/types/array.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/language/types/array.xml diff -u phpdoc-fr/language/types/array.xml:1.8 phpdoc-fr/language/types/array.xml:1.9 --- phpdoc-fr/language/types/array.xml:1.8 Thu Jan 1 13:12:23 2009 +++ phpdoc-fr/language/types/array.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <sect1 xml:id="language.types.array"> @@ -287,8 +287,8 @@ </note> <para> - La structure de contrôle <link linkend="control-structures.foreach">foreach</link> - existe tout spécialement pour les tableaux. Elle fournit une manière pratique + La structure de contrôle &foreach; existe tout spécialement + pour les tableaux. Elle fournit une manière pratique de parcourir un tableau. </para> </sect2> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/array-walk.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/reference/array/functions/array-walk.xml diff -u phpdoc-fr/reference/array/functions/array-walk.xml:1.33 phpdoc-fr/reference/array/functions/array-walk.xml:1.34 --- phpdoc-fr/reference/array/functions/array-walk.xml:1.33 Sun Nov 30 22:01:11 2008 +++ phpdoc-fr/reference/array/functions/array-walk.xml Mon Feb 16 15:43:31 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.29 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.30 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.array-walk" xmlns="http://docbook.org/ns/docbook"> @@ -182,7 +182,7 @@ <member><function>call_user_func_array</function></member> <member><function>array_map</function></member> <member>&seealso.callback;</member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> </simplelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/array.xml?r1=1.26&r2=1.27&diff_format=u Index: phpdoc-fr/reference/array/functions/array.xml diff -u phpdoc-fr/reference/array/functions/array.xml:1.26 phpdoc-fr/reference/array/functions/array.xml:1.27 --- phpdoc-fr/reference/array/functions/array.xml:1.26 Sun Jun 8 19:52:16 2008 +++ phpdoc-fr/reference/array/functions/array.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> -<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.27 $ --> +<!-- EN-Revision: 1.18 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.array" xmlns="http://docbook.org/ns/docbook"> @@ -173,7 +173,7 @@ <member><function>list</function></member> <member><function>count</function></member> <member><function>range</function></member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> <member>Le type <link linkend="language.types.array">array</link></member> </simplelist> </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/each.xml?r1=1.30&r2=1.31&diff_format=u Index: phpdoc-fr/reference/array/functions/each.xml diff -u phpdoc-fr/reference/array/functions/each.xml:1.30 phpdoc-fr/reference/array/functions/each.xml:1.31 --- phpdoc-fr/reference/array/functions/each.xml:1.30 Sat Nov 29 19:07:29 2008 +++ phpdoc-fr/reference/array/functions/each.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> -<!-- EN-Revision: 1.22 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.31 $ --> +<!-- EN-Revision: 1.23 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.each" xmlns="http://docbook.org/ns/docbook"> @@ -168,7 +168,7 @@ <member><function>reset</function></member> <member><function>next</function></member> <member><function>prev</function></member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> <member><link linkend="language.oop5.iterations">Itération d'objet</link></member> </simplelist> </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/array/functions/range.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc-fr/reference/array/functions/range.xml diff -u phpdoc-fr/reference/array/functions/range.xml:1.24 phpdoc-fr/reference/array/functions/range.xml:1.25 --- phpdoc-fr/reference/array/functions/range.xml:1.24 Sun Jun 8 19:52:16 2008 +++ phpdoc-fr/reference/array/functions/range.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> -<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.25 $ --> +<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.range" xmlns="http://docbook.org/ns/docbook"> @@ -145,7 +145,7 @@ <simplelist> <member><function>shuffle</function></member> <member><function>array_fill</function></member> - <member><link linkend="control-structures.foreach">foreach</link></member> + <member>&foreach;</member> </simplelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/com/examples.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/com/examples.xml diff -u phpdoc-fr/reference/com/examples.xml:1.3 phpdoc-fr/reference/com/examples.xml:1.4 --- phpdoc-fr/reference/com/examples.xml:1.3 Sat Jun 21 20:38:00 2008 +++ phpdoc-fr/reference/com/examples.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="com.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -9,10 +9,9 @@ <section xml:id="com.examples.foreach"> <title>For Each</title> <para> - Avec PHP 5, vous pouvez utiliser la structure de contrôle <link - linkend="control-structures.foreach">foreach</link> de PHP pour passe en - boucle à travers le contenu d'un IEnumVariant COM/OLE standard. - Cela signifie que vous pouvez utiliser foreach aux endroits où + Avec PHP 5, vous pouvez utiliser la structure de contrôle &foreach; + de PHP pour passe en boucle à travers le contenu d'un IEnumVariant COM/OLE standard. + Cela signifie que vous pouvez utiliser &foreach; aux endroits où vous auriez pu utiliser <literal>For Each</literal> dans du code VB/ASP. </para> <para> @@ -88,10 +87,10 @@ <listitem> <para> Bouclez sur les SafeArrays ("vrais" tableaux) en utilisant la structure - de contrôle <xref linkend="control-structures.foreach"/>. Cela fonctionne + de contrôle &foreach;. Cela fonctionne car un SafeArrays comporte des informations à propos de sa taille. Si une propriété à la façon des tableaux implémente IEnumVariant, alors vous - pouvez aussi utiliser foreach pour cette propriété ; lisez <xref + pouvez aussi utiliser &foreach; pour cette propriété ; lisez <xref linkend="com.examples.foreach"/> pour plus d'informations à ce sujet. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/com/functions/com-isenum.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/com/functions/com-isenum.xml diff -u phpdoc-fr/reference/com/functions/com-isenum.xml:1.18 phpdoc-fr/reference/com/functions/com-isenum.xml:1.19 --- phpdoc-fr/reference/com/functions/com-isenum.xml:1.18 Sun Nov 30 22:01:11 2008 +++ phpdoc-fr/reference/com/functions/com-isenum.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id='function.com-isenum' xmlns="http://docbook.org/ns/docbook"> @@ -47,7 +47,7 @@ <note> <para> Cette fonction n'existe pas en PHP 5 ; utilisez l'instruction - <link linkend="control-structures.foreach">foreach</link> pour parcourir + &foreach; pour parcourir le contenu des objets COM. Voir <xref linkend="com.examples.foreach"/> pour plus de détails. </para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/operators.xml?r1=1.109&r2=1.110&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.109 phpdoc-fr/language/operators.xml:1.110 --- phpdoc-fr/language/operators.xml:1.109 Thu Feb 12 07:21:05 2009 +++ phpdoc-fr/language/operators.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.109 $ --> -<!-- EN-Revision: 1.130 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.110 $ --> +<!-- EN-Revision: 1.131 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> @@ -828,7 +828,7 @@ vous pouvez ajouter @ aux variables, fonctions, à <function>include</function>, aux constantes, etc. Vous ne pourrez pas le faire avec des éléments de langage tels que les classes, - <literal>if</literal> et <literal>foreach</literal>, etc. + <literal>if</literal> et &foreach;, etc. </simpara> </note> <simpara> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml diff -u phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml:1.11 phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml:1.12 --- phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml:1.11 Thu Feb 12 23:17:30 2009 +++ phpdoc-fr/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.pdo-sqlitecreatefunction" xmlns="http://docbook.org/ns/docbook"> @@ -113,7 +113,7 @@ </para> <para> La beauté de cette technique est que vous n'avez pas à traiter le résultat - en utilisant une boucle foreach() après que vous ayez récupéré les données. + en utilisant une boucle &foreach; après que vous ayez récupéré les données. </para> <!-- Pas pour PDO, il ne le fait pas pour le moment <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/sdo/examples.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/sdo/examples.xml diff -u phpdoc-fr/reference/sdo/examples.xml:1.5 phpdoc-fr/reference/sdo/examples.xml:1.6 --- phpdoc-fr/reference/sdo/examples.xml:1.5 Sat Jun 21 20:51:44 2008 +++ phpdoc-fr/reference/sdo/examples.xml Mon Feb 16 15:43:32 2009 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- Reviewed: yes --> <chapter xml:id="sdo.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; @@ -119,7 +119,8 @@ <para> Nous pouvons également accéder aux propriétés en utilisant un tableau associatif. La forme la plus simple est d'utiliser le nom de la propriété dans le tableau indexé. - Par exemple, ce qui suit définit le nom de la compagnie et récupère l'<literal>"employeeOfTheMonth"</literal>. + Par exemple, ce qui suit définit le nom de la compagnie et récupère + l'<literal>"employeeOfTheMonth"</literal>. </para> <programlisting role="php" xml:id="sdo.examples.simplexpath"> <![CDATA[ @@ -136,7 +137,8 @@ <example> <title>Itération d'objet de données</title> <para> - Vous pouvons itérer les propriétés d'un objet de données en utilisant l'instruction foreach. + Vous pouvons passer en revue les propriétés d'un objet de données + en utilisant l'instruction &foreach;. </para> <programlisting role="php" xml:id="sdo.examples.doiter"> <![CDATA[ @@ -204,8 +206,8 @@ <example> <title>Itération d'une propriété à valeurs multiples</title> <para> - Les propriétés à valeurs multiples peuvent être itérées en utilisant - l'instruction foreach. + Les propriétés à valeurs multiples peuvent être passées en + revue en utilisant l'instruction &foreach;. </para> <programlisting role="php" xml:id="sdo.examples.mvpiter"> <![CDATA[ @@ -601,7 +603,7 @@ <title>Itération de Séquence</title> <para> Nous pouvons itérer à travers des valeurs de séquence individuellement - en utilisant foreach. L'exemple suivant passe au travers des valeurs + en utilisant &foreach;. L'exemple suivant passe au travers des valeurs individuelles dans l'ordre séquentiel. </para> <programlisting role="php" xml:id="sdo.examples.seqiter"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/arrayiterator.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/spl/arrayiterator.xml diff -u phpdoc-fr/reference/spl/arrayiterator.xml:1.2 phpdoc-fr/reference/spl/arrayiterator.xml:1.3 --- phpdoc-fr/reference/spl/arrayiterator.xml:1.2 Wed Jan 7 10:56:24 2009 +++ phpdoc-fr/reference/spl/arrayiterator.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.arrayiterator" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -18,9 +18,10 @@ </para> <para> Lorsque vous voulez passer en revue le même tableau plusieurs fois, vous devez - instancier ArrayObject et le laisser créer les instances ArrayIterator - qui s'y réfère, soit en utilisant l'instruction foreach, soit en appelant - la méthode getIterator() manuellement. + instancier <classname>ArrayObject</classname> et le laisser créer les objets + <classname>ArrayIterator</classname> qui s'y réfère, soit en utilisant + l'instruction &foreach;, soit en appelant la méthode <function>getIterator()</function> + manuellement. </para> </section> <!-- }}} --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml diff -u phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml:1.23 phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml:1.24 --- phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml:1.23 Thu Jan 22 20:07:01 2009 +++ phpdoc-fr/reference/sqlite/functions/sqlite-create-function.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> -<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.24 $ --> +<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.sqlite-create-function" xmlns="http://docbook.org/ns/docbook"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/domnodelist/item.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/domnodelist/item.xml diff -u phpdoc-fr/reference/dom/domnodelist/item.xml:1.1 phpdoc-fr/reference/dom/domnodelist/item.xml:1.2 --- phpdoc-fr/reference/dom/domnodelist/item.xml:1.1 Tue Mar 25 22:11:48 2008 +++ phpdoc-fr/reference/dom/domnodelist/item.xml Mon Feb 16 15:43:32 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id='domnodelist.item' xmlns="http://docbook.org/ns/docbook"> @@ -73,8 +73,8 @@ ]]> </programlisting> <para> - Alternativement, vous pouvez utiliser la structure foreach, qui est une manière - plus convenable : + Alternativement, vous pouvez utiliser la structure &foreach;, + qui est une manière plus convenable : </para> <programlisting role="php"> <![CDATA[