reference/dom/domdocument/construct.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='domdocument.construct' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="domdocument.construct" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>DOMDocument::__construct</refname>
6
6
<refpurpose>
...
...
@@ -9,11 +9,11 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<constructorsynopsis role="DOMDocument">
13
13
<modifier>public</modifier> <methodname>DOMDocument::__construct</methodname>
14
-
<methodparam choice="opt"><type>string</type><parameter>version</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
16
-
</methodsynopsis>
14
+
<methodparam choice="opt"><type>string</type><parameter>version</parameter><initializer>"1.0"</initializer></methodparam>
15
+
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>""</initializer></methodparam>
16
+
</constructorsynopsis>
17
17
<para>
18
18
Creates a new <classname>DOMDocument</classname> object.
19
19
</para>
...
...
@@ -69,7 +69,6 @@ echo $dom->saveXML(); /* <?xml version="1.0" encoding="iso-8859-1"?> */
69
69
</para>
70
70
</refsect1>
71
71
</refentry>
72
-

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