reference/dom/domdocument/createattribute.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -7,9 +7,9 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
11
-
<modifier>public</modifier> <type>DOMAttr</type><methodname>DOMDocument::createAttribute</methodname>
12
-
<methodparam><type>string</type><parameter>name</parameter></methodparam>
10
+
<methodsynopsis role="DOMDocument">
11
+
<modifier>public</modifier> <type class="union"><type>DOMAttr</type><type>false</type></type><methodname>DOMDocument::createAttribute</methodname>
12
+
<methodparam><type>string</type><parameter>localName</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
This function creates a new instance of class <classname>DOMAttr</classname>.
...
...
@@ -21,7 +21,7 @@
21
21
<para>
22
22
<variablelist>
23
23
<varlistentry>
24
-
<term><parameter>name</parameter></term>
24
+
<term><parameter>localName</parameter></term>
25
25
<listitem>
26
26
<para>
27
27
The name of the attribute.
...
...
@@ -45,7 +45,7 @@
45
45
<term><constant>DOM_INVALID_CHARACTER_ERR</constant></term>
46
46
<listitem>
47
47
<para>
48
-
Raised if <parameter>name</parameter> contains an invalid character.
48
+
Raised if <parameter>localName</parameter> contains an invalid character.
49
49
</para>
50
50
</listitem>
51
51
</varlistentry>
...
...
@@ -70,7 +70,6 @@
70
70
</para>
71
71
</refsect1>
72
72
</refentry>
73
-

74
73
<!-- Keep this comment at the end of the file
75
74
Local variables:
76
75
mode: sgml
77
76