1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 07:02:06 +01:00
Files
archived-doc-fr/reference/spl/iteratoriterator.xml
Louis-Arnaud 8da8c3fe7a sync EN-Revision hashes and apply pending EN changes (#2465)
* sync EN-Revision hashes and apply pending EN changes
2026-02-12 11:04:51 +01:00

88 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<reference xml:id="class.iteratoriterator" role="class" 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 class="class">
<ooclass>
<classname>IteratorIterator</classname>
</ooclass>
<oointerface>
<modifier>implements</modifier>
<interfacename>OuterIterator</interfacename>
</oointerface>
<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;
</reference>
<!-- 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
-->