cvs: phpdoc-fr /reference/spl/functions class-implements.xml class-parents.xml iterator-count.xml iterator-to-array.xml spl-classes.xml

From: Date: Mon, 25 Oct 2004 16:21:25 +0000
Subject: cvs: phpdoc-fr /reference/spl/functions class-implements.xml class-parents.xml iterator-count.xml iterator-to-array.xml spl-classes.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3534@lists.php.net to get a copy of this message
dams Mon Oct 25 12:21:25 2004 EDT Added files: /phpdoc-fr/reference/spl/functions class-implements.xml class-parents.xml iterator-count.xml iterator-to-array.xml spl-classes.xml Log: initial translation

http://cvs.php.net/co.php/phpdoc-fr/reference/spl/functions/class-implements.xml?r=1.1&p=1 Index: phpdoc-fr/reference/spl/functions/class-implements.xml +++ phpdoc-fr/reference/spl/functions/class-implements.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <refentry id="function.class-implements"> <refnamediv> <refname>class_implements</refname> <refpurpose> Retourne les classes qui sont implémentées par une classe données </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>class_implements</methodname> <methodparam><type>object</type><parameter>class</parameter></methodparam> </methodsynopsis> <para> <function>class_implements</function> retourne une tableau avec les noms des classes que la classe <parameter>class</parameter> implémente. </para> <para> <example> <title>Exemple avec <function>class_implements</function></title> <programlisting role="php"> <![CDATA[ <?php interface foo { } class bar implements foo {} print_r(class_implements(new bar)); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Array ( [foo] => foo ) ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/spl/functions/class-parents.xml?r=1.1&p=1 Index: phpdoc-fr/reference/spl/functions/class-parents.xml +++ phpdoc-fr/reference/spl/functions/class-parents.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <refentry id="function.class-parents"> <refnamediv> <refname>class_parents</refname> <refpurpose> Retourne la classe parente d'une classe </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>class_parents</methodname> <methodparam><type>object</type><parameter>class</parameter></methodparam> </methodsynopsis> <para> <function>class_parents</function> retourne un tableau avec les noms des classes parentes de la classe <parameter>class</parameter>. </para> <para> <example> <title>Exemple avec <function>class_parents</function></title> <programlisting role="php"> <![CDATA[ <?php class foo { } class bar extends foo {} print_r(class_parents(new bar)); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Array ( [foo] => foo ) ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/spl/functions/iterator-count.xml?r=1.1&p=1 Index: phpdoc-fr/reference/spl/functions/iterator-count.xml +++ phpdoc-fr/reference/spl/functions/iterator-count.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <refentry id="function.iterator-count"> <refnamediv> <refname>iterator_count</refname> <refpurpose> Compte de nombre d'éléments dans un itérateur </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>iterator_count</methodname> <methodparam><type>IteratorAggregate</type><parameter>iterator</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/spl/functions/iterator-to-array.xml?r=1.1&p=1 Index: phpdoc-fr/reference/spl/functions/iterator-to-array.xml +++ phpdoc-fr/reference/spl/functions/iterator-to-array.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <refentry id="function.iterator-to-array"> <refnamediv> <refname>iterator-to-array</refname> <refpurpose> Copie un itérateur dans un tableau </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>iterator_to_array</methodname> <methodparam><type>IteratorAggregate</type><parameter>iterator</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/spl/functions/spl-classes.xml?r=1.1&p=1 Index: phpdoc-fr/reference/spl/functions/spl-classes.xml +++ phpdoc-fr/reference/spl/functions/spl-classes.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <refentry id="function.spl-classes"> <refnamediv> <refname>spl_classes</refname> <refpurpose> Retourne les classes SPL disponibles </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>spl_classes</methodname> <void/> </methodsynopsis> <para> <function>spl_classes</function> retourne un tableau avec la liste des classes SPL actuellement disponibles. </para> <para> <example> <title>Exemple avec <function>spl_classes</function></title> <programlisting role="php"> <![CDATA[ <?php print_r(spl_classes()); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [ArrayObject] => ArrayObject [ArrayIterator] => ArrayIterator [CachingIterator] => CachingIterator [CachingRecursiveIterator] => CachingRecursiveIterator [DirectoryIterator] => DirectoryIterator [FilterIterator] => FilterIterator [LimitIterator] => LimitIterator [ParentIterator] => ParentIterator [RecursiveDirectoryIterator] => RecursiveDirectoryIterator [RecursiveIterator] => RecursiveIterator [RecursiveIteratorIterator] => RecursiveIteratorIterator [SeekableIterator] => SeekableIterator [SimpleXMLIterator] => SimpleXMLIterator ) ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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 (#3534) next »