reference/spl/arrayobject.xml
434992eba38d80ece951837b0b9fd2488f7bb50d
...
...
@@ -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.arrayobject" 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.arrayobject" 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 ArrayObject class</title>
5
5
<titleabbrev>ArrayObject</titleabbrev>
6
6
...
...
@@ -19,60 +19,47 @@
19
19
&reftitle.classsynopsis;
20
20
21
21
<!-- {{{ Synopsis -->
22
-
<classsynopsis>
23
-
<ooclass><classname>ArrayObject</classname></ooclass>
22
+
<classsynopsis class="class">
23
+
<ooclass>
24
+
<classname>ArrayObject</classname>
25
+
</ooclass>
24
26

25
-
<!-- {{{ Class synopsis -->
27
+
<oointerface>
28
+
<modifier>implements</modifier>
29
+
<interfacename>IteratorAggregate</interfacename>
30
+
</oointerface>
26
31

27
-
<classsynopsisinfo>
28
-
<ooclass>
29
-
<classname>ArrayObject</classname>
30
-
</ooclass>
32
+
<oointerface>
33
+
<interfacename>ArrayAccess</interfacename>
34
+
</oointerface>
31
35

32
-
<oointerface>
33
-
<interfacename>IteratorAggregate</interfacename>
34
-
</oointerface>
36
+
<oointerface>
37
+
<interfacename>Serializable</interfacename>
38
+
</oointerface>
35
39

36
-
<oointerface>
37
-
<interfacename>ArrayAccess</interfacename>
38
-
</oointerface>
40
+
<oointerface>
41
+
<interfacename>Countable</interfacename>
42
+
</oointerface>
39
43

40
-
<oointerface>
41
-
<interfacename>Serializable</interfacename>
42
-
</oointerface>
43
-

44
-
<oointerface>
45
-
<interfacename>Countable</interfacename>
46
-
</oointerface>
47
-
48
-
</classsynopsisinfo>
49
44
<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
50
45
<fieldsynopsis>
51
46
<modifier>const</modifier>
52
-
<type>integer</type>
53
-
<varname linkend="arrayobject.constants.std-prop-list">STD_PROP_LIST</varname>
54
-
<initializer>1</initializer>
47
+
<type>int</type>
48
+
<varname linkend="arrayobject.constants.std-prop-list">ArrayObject::STD_PROP_LIST</varname>
55
49
</fieldsynopsis>
56
50
<fieldsynopsis>
57
51
<modifier>const</modifier>
58
-
<type>integer</type>
59
-
<varname linkend="arrayobject.constants.array-as-props">ARRAY_AS_PROPS</varname>
60
-
<initializer>2</initializer>
52
+
<type>int</type>
53
+
<varname linkend="arrayobject.constants.array-as-props">ArrayObject::ARRAY_AS_PROPS</varname>
61
54
</fieldsynopsis>
62
-
<!-- }}} -->
63
-
64
-
<!-- {{{ If the property is documented below (xml:id=arrayobject.props) use this
65
-
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
66
-
<fieldsynopsis>
67
-
<modifier>public</modifier>
68
-
<type>string</type>
69
-
<varname linkend="arrayobject.props.name">name</varname>
70
-
</fieldsynopsis>
71
-
}}} -->
72
55

73
56
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
74
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayobject')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" />
75
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
57
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayobject')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='ArrayObject'])">
58
+
<xi:fallback/>
59
+
</xi:include>
60
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ArrayObject'])">
61
+
<xi:fallback/>
62
+
</xi:include>
76
63
</classsynopsis>
77
64
78
65
</section>
...
...
@@ -86,45 +73,28 @@
86
73
<varlistentry xml:id="arrayobject.constants.std-prop-list">
87
74
<term><constant>ArrayObject::STD_PROP_LIST</constant></term>
88
75
<listitem>
89
-
<para>Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).</para>
76
+
<para>
77
+
Properties of the object have their normal functionality when
78
+
accessed as list (<function>var_dump</function>, &foreach;, etc.).
79
+
</para>
90
80
</listitem>
91
81
</varlistentry>
92
82

93
83
<varlistentry xml:id="arrayobject.constants.array-as-props">
94
84
<term><constant>ArrayObject::ARRAY_AS_PROPS</constant></term>
95
85
<listitem>
96
-
<para>Entries can be accessed as properties (read and write).</para>
86
+
<para>
87
+
Entries can be accessed as properties (read and write). The
88
+
<classname>ArrayObject</classname> class uses its own logic to access
89
+
properties, thus no warning or error is raised when trying to read or
90
+
write dynamic properties.
91
+
</para>
97
92
</listitem>
98
93
</varlistentry>
99
94
</variablelist>
100
95
</section>
101
96
</section>
102
97
103
-
<section role="changelog">
104
-
&reftitle.changelog;
105
-
<para>
106
-
<informaltable>
107
-
<tgroup cols="2">
108
-
<thead>
109
-
<row>
110
-
<entry>&Version;</entry>
111
-
<entry>&Description;</entry>
112
-
</row>
113
-
</thead>
114
-
<tbody>
115
-
<row>
116
-
<entry>5.3.0</entry>
117
-
<entry>
118
-
Implements <interfacename>Serializable</interfacename>.
119
-
</entry>
120
-
</row>
121
-
</tbody>
122
-
</tgroup>
123
-
</informaltable>
124
-
</para>
125
-
</section>
126
-

127
-
128
98
<!-- {{{ ArrayObject properties
129
99
<section xml:id="arrayobject.props">
130
100
&reftitle.properties;
...
...
@@ -144,7 +114,6 @@
144
114
&reference.spl.entities.arrayobject;
145
115
146
116
</phpdoc:classref>
147
-
148
117
<!-- Keep this comment at the end of the file
149
118
Local variables:
150
119
mode: sgml
...
...
@@ -165,4 +134,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
165
134
vim: et tw=78 syn=sgml
166
135
vi: ts=1 sw=1
167
136
-->
168
-

169
137