Files
doc-fr/reference/spl/iteratoriterator.xml
2022-12-25 22:30:16 +00:00

93 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: bfef87dc15cdab5c438e716cd939b75e6ee5d4f5 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<phpdoc:classref xml:id="class.iteratoriterator" 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">
<title>&class.theclass; <classname>IteratorIterator</classname></title>
<titleabbrev>IteratorIterator</titleabbrev>
<partintro>
<!-- {{{ IteratorIterator intro -->
<section xml:id="iteratoriterator.intro">
&reftitle.intro;
<para>
Cet itérateur permet la conversion de n'importe quel objet
<link linkend="class.traversable">Traversable</link> en un itérateur.
Il est important de comprendre que la plupart des classes
qui n'implémentent pas l'interface <interfacename>Iterator</interfacename>,
ne le font pas car elles ne disposent pas de toutes
les méthodes des itérateurs. Si c'est le cas, des mécanismes doivent
être mis en place pour l'éviter, car autrement, cela produirait
des exceptions ou des erreurs fatales.
</para>
</section>
<!-- }}} -->
<section xml:id="iteratoriterator.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass>
<classname>IteratorIterator</classname>
</ooclass>
<classsynopsisinfo>
<ooclass>
<classname>IteratorIterator</classname>
</ooclass>
<oointerface>
<interfacename>OuterIterator</interfacename>
</oointerface>
</classsynopsisinfo>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.iteratoriterator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='IteratorIterator'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.iteratoriterator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='IteratorIterator'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<section role="notes"><!-- {{{ -->
&reftitle.notes;
<note>
<para>
Cette classe permet l'accès aux méthodes de l'itérateur interne via
l'appel à la méthode magique __call.
</para>
</note>
</section><!-- }}} -->
</partintro>
&reference.spl.entities.iteratoriterator;
</phpdoc:classref>
<!-- 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:"~/.phpdoc/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
-->