php-doc-en/reference/spl/recursivearrayiterator.xml
Christoph Michael Becker 437bbf134e Show inherited constants
We do this for the classes of the core and bundled extensions only, for now.
This also allows us to remove some slightly incorrect and unnecessary copy
and paste documentation, where inherited constants have been explicitly
documented for child classes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345662 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 15:10:00 +00:00

154 lines
4.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.recursivearrayiterator" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The RecursiveArrayIterator class</title>
<titleabbrev>RecursiveArrayIterator</titleabbrev>
<partintro>
<!-- {{{ RecursiveArrayIterator intro -->
<section xml:id="recursivearrayiterator.intro">
&reftitle.intro;
<para>
This iterator allows to unset and modify values and keys while iterating over Arrays and Objects
in the same way as the <type>ArrayIterator</type>. Additionally it is possible to iterate
over the current iterator entry.
</para>
</section>
<!-- }}} -->
<section xml:id="recursivearrayiterator.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>RecursiveArrayIterator</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>RecursiveArrayIterator</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>ArrayIterator</classname>
</ooclass>
<oointerface>
<interfacename>RecursiveIterator</interfacename>
</oointerface>
</classsynopsisinfo>
<classsynopsisinfo role="comment">&InheritedConstants;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayiterator')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Constants;']]))">
<xi:fallback />
</xi:include>
<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="recursivearrayiterator.constants.child-arrays-only">CHILD_ARRAYS_ONLY</varname>
<initializer>4</initializer>
</fieldsynopsis>
<!-- }}} -->
<!-- {{{ If the property is documented below (xml:id=recursivearrayiterator.props) use this
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<varname linkend="recursivearrayiterator.props.name">name</varname>
</fieldsynopsis>
}}} -->
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.recursivearrayiterator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
<classsynopsisinfo role="comment">Inherits</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayiterator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
</section>
<section xml:id="recursivearrayiterator.constants">
&reftitle.constants;
<section xml:id="recursivearrayiterator.constants.flags">
<title>RecursiveArrayIterator Flags</title>
<variablelist>
<varlistentry xml:id="recursivearrayiterator.constants.child-arrays-only">
<term><constant>RecursiveArrayIterator::CHILD_ARRAYS_ONLY</constant></term>
<listitem>
<para>Treat only arrays (not objects) as having children for recursive iteration.</para>
</listitem>
</varlistentry>
</variablelist>
</section>
</section>
<section role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.3.0</entry>
<entry>
<constant>CHILD_ARRAYS_ONLY</constant> flag was added.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</section>
<!-- {{{ RecursiveArrayIterator properties
<section xml:id="recursivearrayiterator.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="recursivearrayiterator.props.name">
<term><varname>name</varname></term>
<listitem>
<para>Prop description</para>
</listitem>
</varlistentry>
</variablelist>
</section>
}}} -->
</partintro>
&reference.spl.entities.recursivearrayiterator;
</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
-->