svn: /phpdoc/en/trunk/reference/simplexml/simplexmlelement/ addAttribute.xml addChild.xml construct.xml getName.xml
| From: | Justin Martin | Date: | Fri, 05 Nov 2010 23:56:36 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/simplexml/simplexmlelement/ addAttribute.xml addChild.xml construct.xml getName.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7374@lists.php.net to get a copy of this message | ||
frozenfire Fri, 05 Nov 2010 23:56:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305120
Log:
Added a note to all SimpleXMLElement method examples which make use of the example.php include,
indicating where that include is located. As per bug #53186.
Bug: http://bugs.php.net/53186 (Assigned) Error in the
example
Changed paths:
U phpdoc/en/trunk/reference/simplexml/simplexmlelement/addAttribute.xml
U phpdoc/en/trunk/reference/simplexml/simplexmlelement/addChild.xml
U phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml
U phpdoc/en/trunk/reference/simplexml/simplexmlelement/getName.xml
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement/addAttribute.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement/addAttribute.xml 2010-11-05 23:47:06 UTC
(rev 305119)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement/addAttribute.xml 2010-11-05 23:56:36 UTC
(rev 305120)
@@ -65,6 +65,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link>
guide.
+ </para>
+ </note>
<example>
<title>Add attributes and children to a SimpleXML element</title>
<programlisting role="php">
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement/addChild.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement/addChild.xml 2010-11-05 23:47:06 UTC (rev
305119)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement/addChild.xml 2010-11-05 23:56:36 UTC (rev
305120)
@@ -66,6 +66,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link>
guide.
+ </para>
+ </note>
<example>
<title>Add attributes and children to a SimpleXML element</title>
<programlisting role="php">
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml 2010-11-05 23:47:06 UTC (rev
305119)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement/construct.xml 2010-11-05 23:56:36 UTC (rev
305120)
@@ -101,6 +101,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link>
guide.
+ </para>
+ </note>
<example>
<title>Create a SimpleXMLElement object</title>
<programlisting role="php">
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement/getName.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement/getName.xml 2010-11-05 23:47:06 UTC (rev
305119)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement/getName.xml 2010-11-05 23:56:36 UTC (rev
305120)
@@ -30,6 +30,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link>
guide.
+ </para>
+ </note>
<example>
<title>Get XML element names</title>
<programlisting role="php">