I reversed the commit, though I do want to point out that the current SimpleXML manual pages have no version information displayed for them. Instead, they all say:

(no version information, might be only in CVS)

I added the notes so that people reading the docs wouldn't get confused and assume that, since they are running PHP 5, they can use these new functions.

Ben


On 5/12/06 12:13 PM, Nuno Lopes wrote:
Please revert this commit, as this kind of information is added automatically by the 'functable' script.
Nuno


----- Original Message -----
ramsey Fri May 12 13:54:36 2006 UTC

 Modified files:
   /phpdoc/en/reference/simplexml/functions

simplexml-element-addAttribute.xml
                                           simplexml-element-addChild.xml

simplexml-element-getDocNamespaces.xml
                                           simplexml-element-getName.xml

simplexml-element-getNamespaces.xml
 Log:
 Added note that these methods were added in PHP 5.1.3


http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml:1.2 phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml:1.3 --- phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml:1.2 Thu May 11 13:33:51 2006 +++ phpdoc/en/reference/simplexml/functions/simplexml-element-addAttribute.xml Fri May 12 13:54:36 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id='function.simplexml-element-addAttribute'>
 <refnamediv>
  <refname>SimpleXMLElement->addAttribute</refname>
@@ -17,6 +17,11 @@
  </methodsynopsis>
  <para>
   Adds an attribute to the SimpleXML element.
+   <note>
+    <para>
+ <literal>SimpleXMLElement->addAttribute</literal> was added in PHP 5.1.3.
+    </para>
+   </note>
  </para>
 </refsect1>

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml:1.2 phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml:1.3 --- phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml:1.2 Thu May 11 13:33:51 2006 +++ phpdoc/en/reference/simplexml/functions/simplexml-element-addChild.xml Fri May 12 13:54:36 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id='function.simplexml-element-addChild'>
 <refnamediv>
  <refname>SimpleXMLElement->addChild</refname>
@@ -17,6 +17,11 @@
  </methodsynopsis>
  <para>
Adds a child element to the node and returns a SimpleXMLElement of the child.
+   <note>
+    <para>
+ <literal>SimpleXMLElement->addChild</literal> was added in PHP 5.1.3.
+    </para>
+   </note>
  </para>
 </refsect1>

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml:1.3 phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml:1.4 --- phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml:1.3 Thu May 11 15:13:27 2006 +++ phpdoc/en/reference/simplexml/functions/simplexml-element-getDocNamespaces.xml Fri May 12 13:54:36 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id='function.simplexml-element-getDocNamespaces'>
 <refnamediv>
  <refname>SimpleXMLElement->getDocNamespaces</refname>
@@ -15,6 +15,11 @@
  </methodsynopsis>
  <para>
   Returns namespaces declared in document
+   <note>
+    <para>
+ <literal>SimpleXMLElement->getDocNamespaces</literal> was added in PHP 5.1.3.
+    </para>
+   </note>
  </para>
 </refsect1>

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml:1.2 phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml:1.3 --- phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml:1.2 Thu May 11 13:33:51 2006 +++ phpdoc/en/reference/simplexml/functions/simplexml-element-getName.xml Fri May 12 13:54:36 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id='function.simplexml-element-getName'>
 <refnamediv>
  <refname>SimpleXMLElement->getName</refname>
@@ -13,6 +13,11 @@
  </methodsynopsis>
  <para>
   Gets the name of the XML element.
+   <note>
+    <para>
+ <literal>SimpleXMLElement->getName</literal> was added in PHP 5.1.3.
+    </para>
+   </note>
  </para>
 </refsect1>

http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml:1.3 phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml:1.4 --- phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml:1.3 Thu May 11 15:13:27 2006 +++ phpdoc/en/reference/simplexml/functions/simplexml-element-getNamespaces.xml Fri May 12 13:54:36 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id='function.simplexml-element-getNamespaces'>
 <refnamediv>
  <refname>SimpleXMLElement->getNamespaces</refname>
@@ -15,6 +15,11 @@
  </methodsynopsis>
  <para>
   Returns namespaces used in document
+   <note>
+    <para>
+ <literal>SimpleXMLElement->addNamespaces</literal> was added in PHP 5.1.3.
+    </para>
+   </note>
  </para>
 </refsect1>



--
Ben Ramsey
http://benramsey.com/

Reply via email to