reference/dom/domelement/construct.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='domelement.construct' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="domelement.construct" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>DOMElement::__construct</refname>
6
6
<refpurpose>
...
...
@@ -9,18 +9,18 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<constructorsynopsis role="DOMElement">
13
13
<modifier>public</modifier> <methodname>DOMElement::__construct</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>namespaceURI</parameter></methodparam>
17
-
</methodsynopsis>
14
+
<methodparam><type>string</type><parameter>qualifiedName</parameter></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>value</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type>string</type><parameter>namespace</parameter><initializer>""</initializer></methodparam>
17
+
</constructorsynopsis>
18
18
<para>
19
19
Creates a new <classname>DOMElement</classname> object. This object is read only.
20
20
It may be appended to a document, but additional nodes may not be appended to this node until
21
21
the node is associated with a document. To create a writeable node, use
22
-
<xref linkend="domdocument.createelement" /> or
23
-
<xref linkend="domdocument.createelementns" />.
22
+
<xref linkend="domdocument.createelement"/> or
23
+
<xref linkend="domdocument.createelementns"/>.
24
24
</para>
25
25
</refsect1>
26
26
<refsect1 role="parameters">
...
...
@@ -28,7 +28,7 @@
28
28
<para>
29
29
<variablelist>
30
30
<varlistentry>
31
-
<term><parameter>name</parameter></term>
31
+
<term><parameter>qualifiedName</parameter></term>
32
32
<listitem>
33
33
<para>
34
34
The tag name of the element. When also passing in namespaceURI, the element name
...
...
@@ -45,7 +45,7 @@
45
45
</listitem>
46
46
</varlistentry>
47
47
<varlistentry>
48
-
<term><parameter>namespaceURI</parameter></term>
48
+
<term><parameter>namespace</parameter></term>
49
49
<listitem>
50
50
<para>
51
51
A namespace URI to create the element within a specific namespace.
...
...
@@ -87,7 +87,6 @@ echo $dom->saveXML(); /* <?xml version="1.0" encoding="utf-8"?>
87
87
</para>
88
88
</refsect1>
89
89
</refentry>
90
-

91
90
<!-- Keep this comment at the end of the file
92
91
Local variables:
93
92
mode: sgml
94
93