bjori Tue May 22 14:58:47 2007 UTC
Modified files:
/phpdoc/en/reference/xmlwriter/functions
xmlwriter-write-element.xml
xmlwriter-write-element-ns.xml
/phpdoc/en/appendices migration52.xml
Log:
The content parameter in XMLWriter::WriteElement[Ns] is now optinoal
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element.xml
diff -u phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element.xml:1.5
phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element.xml:1.6
--- phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element.xml:1.5
Tue Jan 30 21:06:02 2007
+++ phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element.xml Tue May
22 14:58:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc.
-->
<refentry id="function.xmlwriter-write-element">
<refnamediv>
@@ -14,7 +14,7 @@
<methodsynopsis>
<type>bool</type><methodname>writeElement</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
-
<methodparam><type>string</type><parameter>content</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>content</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>Procedural style:</para>
@@ -22,7 +22,7 @@
<type>bool</type><methodname>xmlwriter_write_element</methodname>
<methodparam><type>resource</type><parameter>xmlwriter</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam><type>string</type><parameter>content</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>content</parameter></methodparam>
</methodsynopsis>
<para>
Writes a full element tag.
@@ -60,6 +60,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>PHP 5.2.3</entry>
+ <entry>
+ The <parameter>content</parameter> parameter became optional.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml
diff -u
phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml:1.4
phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml:1.5
--- phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml:1.4
Tue Jan 30 21:06:02 2007
+++ phpdoc/en/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml
Tue May 22 14:58:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc.
-->
<refentry id="function.xmlwriter-write-element-ns">
<refnamediv>
@@ -16,7 +16,7 @@
<methodparam><type>string</type><parameter>prefix</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
-
<methodparam><type>string</type><parameter>content</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>content</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>Procedural style:</para>
@@ -26,7 +26,7 @@
<methodparam><type>string</type><parameter>prefix</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
- <methodparam><type>string</type><parameter>content</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>content</parameter></methodparam>
</methodsynopsis>
<para>
Writes a full namesapced element tag.
@@ -80,6 +80,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>PHP 5.2.3</entry>
+ <entry>
+ The <parameter>content</parameter> parameter became optional.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration52.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/appendices/migration52.xml
diff -u phpdoc/en/appendices/migration52.xml:1.4
phpdoc/en/appendices/migration52.xml:1.5
--- phpdoc/en/appendices/migration52.xml:1.4 Tue May 22 14:47:26 2007
+++ phpdoc/en/appendices/migration52.xml Tue May 22 14:58:47 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<appendix id="migration52">
<title>Migrating from PHP 5.1.x to PHP 5.2.x</title>
@@ -711,6 +711,22 @@
</simpara>
</listitem>
</itemizedlist>
+
+ <para><link linkend="ref.xmlwriter">XMLWriter</link>:</para>
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <link
linkend="function.xmlwriter-write-element"><function>XMLWriter::WriteElement</function></link>
+ - the <parameter>content</parameter> became optional in PHP 5.2.3
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <link
linkend="function.xmlwriter-write-element-ns"><function>XMLWriter::WriteElementNs</function></link>
+ - the <parameter>content</parameter> became optional in PHP 5.2.3
+ </simpara>
+ </listitem>
+ </itemizedlist>
</section>
<section id="migration52.functions">