reference/simplexml/simplexmlelement/addAttribute.xml
770c6facae667218f69c8ea2715ea20f6fab32f3
...
...
@@ -9,11 +9,11 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<methodsynopsis role="SimpleXMLElement">
13
13
<modifier>public</modifier> <type>void</type><methodname>SimpleXMLElement::addAttribute</methodname>
14
-
<methodparam><type>string</type><parameter>name</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>namespace</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>qualifiedName</parameter></methodparam>
15
+
<methodparam><type>string</type><parameter>value</parameter></methodparam>
16
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>namespace</parameter><initializer>&null;</initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
Adds an attribute to the SimpleXML element.
...
...
@@ -25,7 +25,7 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>name</parameter></term>
28
+
<term><parameter>qualifiedName</parameter></term>
29
29
<listitem>
30
30
<para>
31
31
The name of the attribute to add.
...
...
@@ -153,7 +153,6 @@ echo $sxe->asXML();
153
153
</para>
154
154
</refsect1>
155
155
</refentry>
156
-

157
156
<!-- Keep this comment at the end of the file
158
157
Local variables:
159
158
mode: sgml
160
159