reference/dom/domcharacterdata.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.domcharacterdata" 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.domcharacterdata" 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 DOMCharacterData class</title>
5
5
<titleabbrev>DOMCharacterData</titleabbrev>
6
6
...
...
@@ -20,26 +20,22 @@
20
20
&reftitle.classsynopsis;
21
21
22
22
<!-- {{{ Synopsis -->
23
-
<classsynopsis>
24
-
<ooclass><classname>DOMCharacterData</classname></ooclass>
25
-
26
-
<!-- {{{ Class synopsis -->
27
-
<classsynopsisinfo>
28
-
<ooclass>
29
-
<classname>DOMCharacterData</classname>
30
-
</ooclass>
31
-
32
-
<!-- If the class extends another one, use this -->
33
-
<ooclass>
34
-
<modifier>extends</modifier>
35
-
<classname>DOMNode</classname>
36
-
</ooclass>
37
-
38
-
</classsynopsisinfo>
39
-
<!-- }}} -->
23
+
<classsynopsis class="class">
24
+
<ooclass>
25
+
<classname>DOMCharacterData</classname>
26
+
</ooclass>
27
+

28
+
<ooclass>
29
+
<modifier>extends</modifier>
30
+
<classname>DOMNode</classname>
31
+
</ooclass>
32
+

33
+
<oointerface>
34
+
<modifier>implements</modifier>
35
+
<interfacename>DOMChildNode</interfacename>
36
+
</oointerface>
40
37

41
38
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
42
-
<!-- If the property is documented below (xml:id=domcharacterdata.props) use this -->
43
39
<fieldsynopsis>
44
40
<modifier>public</modifier>
45
41
<type>string</type>
...
...
@@ -51,19 +47,33 @@
51
47
<type>int</type>
52
48
<varname linkend="domcharacterdata.props.length">length</varname>
53
49
</fieldsynopsis>
50
+
<fieldsynopsis>
51
+
<modifier>public</modifier>
52
+
<modifier>readonly</modifier>
53
+
<type class="union"><type>DOMElement</type><type>null</type></type>
54
+
<varname linkend="domcharacterdata.props.previouselementsibling">previousElementSibling</varname>
55
+
</fieldsynopsis>
56
+
<fieldsynopsis>
57
+
<modifier>public</modifier>
58
+
<modifier>readonly</modifier>
59
+
<type class="union"><type>DOMElement</type><type>null</type></type>
60
+
<varname linkend="domcharacterdata.props.nextelementsibling">nextElementSibling</varname>
61
+
</fieldsynopsis>
54
62

55
63
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
56
64
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domnode')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
57
-
<xi:fallback />
65
+
<xi:fallback/>
58
66
</xi:include>
59
67

60
68
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
61
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domcharacterdata')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
69
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domcharacterdata')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DOMCharacterData'])">
70
+
<xi:fallback/>
71
+
</xi:include>
62
72

63
-
<!-- Again, if the class extends a class use this -->
64
73
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
65
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domnode')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
66
-

74
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domnode')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DOMNode'])">
75
+
<xi:fallback/>
76
+
</xi:include>
67
77
</classsynopsis>
68
78
<!-- }}} -->
69
79
...
...
@@ -85,10 +95,52 @@
85
95
<para>The length of the contents.</para>
86
96
</listitem>
87
97
</varlistentry>
98
+
<varlistentry xml:id="domcharacterdata.props.nextelementsibling">
99
+
<term><varname>nextElementSibling</varname></term>
100
+
<listitem>
101
+
<para>The next sibling element or &null;.</para>
102
+
</listitem>
103
+
</varlistentry>
104
+
<varlistentry xml:id="domcharacterdata.props.previouselementsibling">
105
+
<term><varname>previousElementSibling</varname></term>
106
+
<listitem>
107
+
<para>The previous sibling element or &null;.</para>
108
+
</listitem>
109
+
</varlistentry>
88
110
</variablelist>
89
111
</section>
90
112
<!-- }}} -->
91
113

114
+
<section role="changelog">
115
+
&reftitle.changelog;
116
+
<informaltable>
117
+
<tgroup cols="2">
118
+
<thead>
119
+
<row>
120
+
<entry>&Version;</entry>
121
+
<entry>&Description;</entry>
122
+
</row>
123
+
</thead>
124
+
<tbody>
125
+
<row>
126
+
<entry>8.0.0</entry>
127
+
<entry>
128
+
The <varname>nextElementSibling</varname> and
129
+
<varname>previousElementSibling</varname> properties have been added.
130
+
</entry>
131
+
</row>
132
+
<row>
133
+
<entry>8.0.0</entry>
134
+
<entry>
135
+
<classname>DOMCharacterData</classname> implements
136
+
<interfacename>DOMChildNode</interfacename> now.
137
+
</entry>
138
+
</row>
139
+
</tbody>
140
+
</tgroup>
141
+
</informaltable>
142
+
</section>
143
+

92
144
<section role="seealso">
93
145
&reftitle.seealso;
94
146
<para>
...
...
@@ -103,7 +155,6 @@
103
155
&reference.dom.entities.domcharacterdata;
104
156
105
157
</phpdoc:classref>
106
-
107
158
<!-- Keep this comment at the end of the file
108
159
Local variables:
109
160
mode: sgml
...
...
@@ -124,4 +175,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
124
175
vim: et tw=78 syn=sgml
125
176
vi: ts=1 sw=1
126
177
-->
127
-

128
178