reference/dom/domdocument/schemavalidatesource.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -9,10 +9,10 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<methodsynopsis role="DOMDocument">
13
13
<modifier>public</modifier> <type>bool</type><methodname>DOMDocument::schemaValidateSource</methodname>
14
14
<methodparam><type>string</type><parameter>source</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
15
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Validates a document based on a schema defined in the given string.
...
...
@@ -34,8 +34,7 @@
34
34
<term><parameter>flags</parameter></term>
35
35
<listitem>
36
36
<para>
37
-
A bitmask of Libxml schema validation flags. Currently the only supported value is <link
38
-
linkend="libxml.constants">LIBXML_SCHEMA_CREATE</link>. Available since PHP 5.5.2 and Libxml 2.6.14.
37
+
A bitmask of Libxml schema validation flags. Currently the only supported value is <link linkend="libxml.constants">LIBXML_SCHEMA_CREATE</link>. Available since Libxml 2.6.14.
39
38
</para>
40
39
</listitem>
41
40
</varlistentry>
...
...
@@ -48,29 +47,7 @@
48
47
&return.success;
49
48
</para>
50
49
</refsect1>
51
-
<refsect1 role="changelog">
52
-
&reftitle.changelog;
53
-
<para>
54
-
<informaltable>
55
-
<tgroup cols="2">
56
-
<thead>
57
-
<row>
58
-
<entry>&Version;</entry>
59
-
<entry>&Description;</entry>
60
-
</row>
61
-
</thead>
62
-
<tbody>
63
-
<row>
64
-
<entry>5.5.2</entry>
65
-
<entry>
66
-
Added the <parameter>flags</parameter> parameter
67
-
</entry>
68
-
</row>
69
-
</tbody>
70
-
</tgroup>
71
-
</informaltable>
72
-
</para>
73
-
</refsect1>
50
+

74
51
<refsect1 role="seealso">
75
52
&reftitle.seealso;
76
53
<para>
...
...
@@ -83,7 +60,6 @@
83
60
</para>
84
61
</refsect1>
85
62
</refentry>
86
-

87
63
<!-- Keep this comment at the end of the file
88
64
Local variables:
89
65
mode: sgml
90
66