reference/dom/domattr/construct.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -1,23 +1,23 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='domattr.construct' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="domattr.construct" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>DOMAttr::__construct</refname>
6
6
<refpurpose>Creates a new <classname>DOMAttr</classname> object</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<constructorsynopsis role="DOMAttr">
11
11
<modifier>public</modifier> <methodname>DOMAttr::__construct</methodname>
12
12
<methodparam><type>string</type><parameter>name</parameter></methodparam>
13
-
<methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam>
14
-
</methodsynopsis>
13
+
<methodparam choice="opt"><type>string</type><parameter>value</parameter><initializer>""</initializer></methodparam>
14
+
</constructorsynopsis>
15
15
<para>
16
16
Creates a new DOMAttr object. This object is read only.
17
17
It may be appended to a document, but additional nodes may
18
18
not be appended to this node until the node is associated
19
19
with a document. To create a writable node, use
20
-
<xref linkend="domdocument.createattribute" />.
20
+
<xref linkend="domdocument.createattribute"/>.
21
21
</para>
22
22
</refsect1>
23
23
<refsect1 role="parameters">
...
...
@@ -79,7 +79,6 @@ echo $dom->saveXML();
79
79
</para>
80
80
</refsect1>
81
81
</refentry>
82
-

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