reference/spl/arrayiterator.xml
14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<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">
3
+
<phpdoc:classref xml:id="class.arrayiterator" 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">
4
4
<title>The ArrayIterator class</title>
5
5
<titleabbrev>ArrayIterator</titleabbrev>
6
6
...
...
@@ -10,8 +10,8 @@
10
10
<section xml:id="arrayiterator.intro">
11
11
&reftitle.intro;
12
12
<para>
13
-
This iterator allows to unset and modify values and keys while iterating
14
-
over Arrays and Objects.
13
+
Allows the removal of elements, and the modification of
14
+
keys or values while iterating over Arrays or Objects.
15
15
</para>
16
16
<para>
17
17
When you want to iterate over the same array multiple times you need to
...
...
@@ -26,60 +26,49 @@
26
26
&reftitle.classsynopsis;
27
27
28
28
<!-- {{{ Synopsis -->
29
-
<classsynopsis>
30
-
<ooclass><classname>ArrayIterator</classname></ooclass>
29
+
<classsynopsis class="class">
30
+
<ooclass>
31
+
<classname>ArrayIterator</classname>
32
+
</ooclass>
31
33

32
-
<!-- {{{ Class synopsis -->
33
-
<classsynopsisinfo>
34
-
<ooclass>
35
-
<classname>ArrayIterator</classname>
36
-
</ooclass>
34
+
<oointerface>
35
+
<modifier>implements</modifier>
36
+
<interfacename>SeekableIterator</interfacename>
37
+
</oointerface>
37
38

38
-
<oointerface>
39
-
<interfacename>ArrayAccess</interfacename>
40
-
</oointerface>
39
+
<oointerface>
40
+
<interfacename>ArrayAccess</interfacename>
41
+
</oointerface>
41
42

42
-
<oointerface>
43
-
<interfacename>SeekableIterator</interfacename>
44
-
</oointerface>
43
+
<oointerface>
44
+
<interfacename>Serializable</interfacename>
45
+
</oointerface>
45
46

46
-
<oointerface>
47
-
<interfacename>Countable</interfacename>
48
-
</oointerface>
49
-

50
-
<oointerface>
51
-
<interfacename>Serializable</interfacename>
52
-
</oointerface>
53
-
54
-
</classsynopsisinfo>
47
+
<oointerface>
48
+
<interfacename>Countable</interfacename>
49
+
</oointerface>
55
50

56
51
<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
57
52
<fieldsynopsis>
53
+
<modifier>public</modifier>
58
54
<modifier>const</modifier>
59
-
<type>integer</type>
60
-
<varname linkend="arrayiterator.constants.std-prop-list">STD_PROP_LIST</varname>
61
-
<initializer>1</initializer>
62
-
</fieldsynopsis>
63
-
<fieldsynopsis>
64
-
<modifier>const</modifier>
65
-
<type>integer</type>
66
-
<varname linkend="arrayiterator.constants.array-as-props">ARRAY_AS_PROPS</varname>
67
-
<initializer>2</initializer>
55
+
<type>int</type>
56
+
<varname linkend="arrayiterator.constants.std-prop-list">ArrayIterator::STD_PROP_LIST</varname>
68
57
</fieldsynopsis>
69
-

70
-
<!-- }}} -->
71
-
72
-
<!-- {{{ If the property is documented below (xml:id=arrayiterator.props) use this
73
-
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
74
58
<fieldsynopsis>
75
59
<modifier>public</modifier>
76
-
<type>string</type>
77
-
<varname linkend="arrayiterator.props.name">name</varname>
60
+
<modifier>const</modifier>
61
+
<type>int</type>
62
+
<varname linkend="arrayiterator.constants.array-as-props">ArrayIterator::ARRAY_AS_PROPS</varname>
78
63
</fieldsynopsis>
79
-
}}} -->
80
64

81
65
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
82
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayiterator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
66
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayiterator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='ArrayIterator'])">
67
+
<xi:fallback/>
68
+
</xi:include>
69
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayiterator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ArrayIterator'])">
70
+
<xi:fallback/>
71
+
</xi:include>
83
72
</classsynopsis>
84
73
85
74
</section>
...
...
@@ -126,7 +115,6 @@
126
115
&reference.spl.entities.arrayiterator;
127
116
128
117
</phpdoc:classref>
129
-
130
118
<!-- Keep this comment at the end of the file
131
119
Local variables:
132
120
mode: sgml
...
...
@@ -147,4 +135,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
147
135
vim: et tw=78 syn=sgml
148
136
vi: ts=1 sw=1
149
137
-->
150
-

151
138