reference/dom/domtext/construct.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='domtext.construct' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="domtext.construct" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>DOMText::__construct</refname>
6
6
<refpurpose>
...
...
@@ -9,9 +9,9 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<constructorsynopsis role="oop">
12
+
<constructorsynopsis role="DOMText">
13
13
<modifier>public</modifier> <methodname>DOMText::__construct</methodname>
14
-
<methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam>
14
+
<methodparam choice="opt"><type>string</type><parameter>data</parameter><initializer>""</initializer></methodparam>
15
15
</constructorsynopsis>
16
16
<para>
17
17
Creates a new <classname>DOMText</classname> object.
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>value</parameter></term>
25
+
<term><parameter>data</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
The value of the text node. If not supplied an empty text node is created.
...
...
@@ -61,7 +61,6 @@ echo $dom->saveXML(); /* <?xml version="1.0" encoding="iso-8859-1"?><root>root v
61
61
</para>
62
62
</refsect1>
63
63
</refentry>
64
-

65
64
<!-- Keep this comment at the end of the file
66
65
Local variables:
67
66
mode: sgml
68
67