reference/dom/domdocument/createtextnode.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -7,9 +7,9 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<methodsynopsis role="DOMDocument">
11
11
<modifier>public</modifier> <type>DOMText</type><methodname>DOMDocument::createTextNode</methodname>
12
-
<methodparam><type>string</type><parameter>content</parameter></methodparam>
12
+
<methodparam><type>string</type><parameter>data</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
This function creates a new instance of class
...
...
@@ -21,7 +21,7 @@
21
21
<para>
22
22
<variablelist>
23
23
<varlistentry>
24
-
<term><parameter>content</parameter></term>
24
+
<term><parameter>data</parameter></term>
25
25
<listitem>
26
26
<para>
27
27
The content of the text.
...
...
@@ -31,12 +31,37 @@
31
31
</variablelist>
32
32
</para>
33
33
</refsect1>
34
+

34
35
<refsect1 role="returnvalues">
35
36
&reftitle.returnvalues;
36
37
<para>
37
-
The new <classname>DOMText</classname> or &false; if an error occurred.
38
+
The new <classname>DOMText</classname>.
38
39
</para>
39
40
</refsect1>
41
+

42
+
<refsect1 role="changelog">
43
+
&reftitle.changelog;
44
+
<informaltable>
45
+
<tgroup cols="2">
46
+
<thead>
47
+
<row>
48
+
<entry>&Version;</entry>
49
+
<entry>&Description;</entry>
50
+
</row>
51
+
</thead>
52
+
<tbody>
53
+
<row>
54
+
<entry>8.1.0</entry>
55
+
<entry>
56
+
In case of an error, a <classname>DomException</classname> is thrown now.
57
+
Previously, &false; was returned.
58
+
</entry>
59
+
</row>
60
+
</tbody>
61
+
</tgroup>
62
+
</informaltable>
63
+
</refsect1>
64
+

40
65
<refsect1 role="seealso">
41
66
&reftitle.seealso;
42
67
<para>
...
...
@@ -55,7 +80,6 @@
55
80
</para>
56
81
</refsect1>
57
82
</refentry>
58
-

59
83
<!-- Keep this comment at the end of the file
60
84
Local variables:
61
85
mode: sgml
62
86