cvs: phpdoc /en/reference/domxml/functions DomElement-get-attribute-node.xml DomElement-get-attribute.xml DomElement-get-elements-by-tagname.xml
DomElement-has-attribute.xml DomElement-remove-attribute.xml DomElement-set-attribute-node.xml DomElement-set-attribute.xml DomElement-tagname.xml
| From: | Mehdi Achour | Date: | Mon, 13 Jun 2005 08:57:55 +0000 |
| Subject: | cvs: phpdoc /en/reference/domxml/functions DomElement-get-attribute-node.xml DomElement-get-attribute.xml DomElement-get-elements-by-tagname.xml DomElement-has-attribute.xml DomElement-remove-attribute.xml DomElement-set-attribute-node.xml DomElement-set-attribute.xml DomElement-tagname.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368556@lists.php.net to get a copy of this message | ||
didou Mon Jun 13 04:57:55 2005 EDT
Modified files:
/phpdoc/en/reference/domxml/functions
DomElement-get-attribute-node.xml
DomElement-get-attribute.xml
DomElement-get-elements-by-tagname.xml
DomElement-has-attribute.xml
DomElement-remove-attribute.xml
DomElement-set-attribute-node.xml
DomElement-set-attribute.xml
DomElement-tagname.xml
Log:
WS
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml:1.6 phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml:1.6 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml Mon Jun 13 04:57:53 2005 @@ -1,31 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> - <refentry id='function.domelement-get-attribute-node'> - <refnamediv> - <refname>DomElement->get_attribute_node</refname> - <refpurpose> - Returns the node of the given attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domattribute</type><methodname>DomElement->get_attribute_node</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - Returns the node of the attribute named <parameter>name</parameter> - in the current element. The <parameter>name</parameter> parameter is - case sensitive. - </para> - <para> - If no attribute with given name is found, &false; is returned. - </para> - <para> - <example> - <title>Getting an attribute node</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domelement-get-attribute-node'> + <refnamediv> + <refname>DomElement->get_attribute_node</refname> + <refpurpose> + Returns the node of the given attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domattribute</type><methodname>DomElement->get_attribute_node</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + Returns the node of the attribute named <parameter>name</parameter> + in the current element. The <parameter>name</parameter> parameter is + case sensitive. + </para> + <para> + If no attribute with given name is found, &false; is returned. + </para> + <para> + <example> + <title>Getting an attribute node</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,11 +42,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.8 phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.9 --- phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.8 Mon Nov 8 07:10:19 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.28 --> - <refentry id='function.domelement-get-attribute'> - <refnamediv> - <refname>DomElement->get_attribute</refname> - <refpurpose> - Returns the value of the given attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomElement->get_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - Returns the value of the attribute named <parameter>name</parameter> - in the current node. The <parameter>name</parameter> parameter is case - sensitive. - </para> - <para> - Since PHP 4.3, if no attribute with given <parameter>name</parameter> is - found, an empty string is returned. - </para> - <para> - <example> - <title>Getting the value of an attribute</title> - <programlisting role="php"> +<!-- $Revision: 1.9 $ --> +<refentry id='function.domelement-get-attribute'> + <refnamediv> + <refname>DomElement->get_attribute</refname> + <refpurpose> + Returns the value of the given attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomElement->get_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + Returns the value of the attribute named <parameter>name</parameter> + in the current node. The <parameter>name</parameter> parameter is case + sensitive. + </para> + <para> + Since PHP 4.3, if no attribute with given <parameter>name</parameter> is + found, an empty string is returned. + </para> + <para> + <example> + <title>Getting the value of an attribute</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,14 +42,14 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domelement_set_attribute</function> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domelement_set_attribute</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml:1.10 phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml:1.11 --- phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml:1.10 Mon Nov 1 11:22:46 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml Mon Jun 13 04:57:53 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domelement-get-elements-by-tagname'> - <refnamediv> - <refname>DomElement->get_elements_by_tagname</refname> - <refpurpose> - Gets elements by tagname - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>DomElement->get_elements_by_tagname</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - This function returns an array with all the elements which has - <parameter>name</parameter> as his tagname. Every element of the - array is a DomElement. - </para> - <para> - <example> - <title>Getting a content</title> - <programlisting role="php"> +<!-- $Revision: 1.11 $ --> +<refentry id='function.domelement-get-elements-by-tagname'> + <refnamediv> + <refname>DomElement->get_elements_by_tagname</refname> + <refpurpose> + Gets elements by tagname + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomElement->get_elements_by_tagname</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + This function returns an array with all the elements which has + <parameter>name</parameter> as his tagname. Every element of the + array is a DomElement. + </para> + <para> + <example> + <title>Getting a content</title> + <programlisting role="php"> <![CDATA[ <?php if (!$dom = domxml_open_mem($xmlstr)) { @@ -41,11 +40,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.7 phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.7 Mon Nov 8 07:10:19 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domelement-has-attribute'> - <refnamediv> - <refname>DomElement->has_attribute</refname> - <refpurpose> - Checks to see if an attribute exists in the current node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomElement->has_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - This functions checks to see if an attribute named - <parameter>name</parameter> exists in the current node. - </para> - <para> - <example> - <title>Testing the existence of an attribute</title> - <programlisting role="php"> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domelement-has-attribute'> + <refnamediv> + <refname>DomElement->has_attribute</refname> + <refpurpose> + Checks to see if an attribute exists in the current node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomElement->has_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + This functions checks to see if an attribute named + <parameter>name</parameter> exists in the current node. + </para> + <para> + <example> + <title>Testing the existence of an attribute</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,11 +42,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml:1.5 phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml:1.5 Mon Nov 1 11:22:47 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domelement-remove-attribute'> - <refnamediv> - <refname>DomElement->remove_attribute</refname> - <refpurpose> - Removes attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomElement->remove_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domelement-remove-attribute'> + <refnamediv> + <refname>DomElement->remove_attribute</refname> + <refpurpose> + Removes attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomElement->remove_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml:1.5 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml Mon Jun 13 04:57:53 2005 @@ -1,25 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> +<!-- $Revision: 1.6 $ --> <!-- This function is not implemented at all for the time being - <refentry id='function.domelement-set-attribute-node'> - <refnamediv> - <refname>DomElement->set_attribute_node</refname> - <refpurpose> - Adds new attribute - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>domnode</type><methodname>DomElement->set_attribute_node</methodname> - <methodparam><type>domnode</type><parameter>attr</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<refentry id='function.domelement-set-attribute-node'> + <refnamediv> + <refname>DomElement->set_attribute_node</refname> + <refpurpose> + Adds new attribute + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>domnode</type><methodname>DomElement->set_attribute_node</methodname> + <methodparam><type>domnode</type><parameter>attr</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> --> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml:1.9 phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> - <refentry id='function.domelement-set-attribute'> - <refnamediv> - <refname>DomElement->set_attribute</refname> - <refpurpose> - Sets the value of an attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domattribute</type><methodname>DomElement->set_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - <methodparam><type>string</type><parameter>value</parameter></methodparam> - </methodsynopsis> - <para> - Sets an attribute with name <parameter>name</parameter> to the given - <parameter>value</parameter>. If the attribute does not exist, it will - be created. - </para> - <para> - <example> - <title>Setting an attribute</title> - <programlisting role="php"> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domelement-set-attribute'> + <refnamediv> + <refname>DomElement->set_attribute</refname> + <refpurpose> + Sets the value of an attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domattribute</type><methodname>DomElement->set_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + <methodparam><type>string</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <para> + Sets an attribute with name <parameter>name</parameter> to the given + <parameter>value</parameter>. If the attribute does not exist, it will + be created. + </para> + <para> + <example> + <title>Setting an attribute</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -32,14 +31,14 @@ $newnode->set_attribute("align", "left"); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domelement_get_attribute</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domelement_get_attribute</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-tagname.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-tagname.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-tagname.xml:1.5 phpdoc/en/reference/domxml/functions/DomElement-tagname.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomElement-tagname.xml:1.5 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-tagname.xml Mon Jun 13 04:57:53 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> - <refentry id='function.domelement-tagname'> - <refnamediv> - <refname>DomElement->tagname</refname> - <refpurpose> - Returns the name of the current element - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomElement->tagname</methodname> - <void/> - </methodsynopsis> - <para> - Returns the name of the current node. Calling this function is the same - as accessing the <literal>tagname</literal> property, or calling - <function>DomElement->node_name</function> of the current node. - </para> - <para> - <example> - <title>Getting the node name</title> - <programlisting role="php"> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domelement-tagname'> + <refnamediv> + <refname>DomElement->tagname</refname> + <refpurpose> + Returns the name of the current element + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomElement->tagname</methodname> + <void/> + </methodsynopsis> + <para> + Returns the name of the current node. Calling this function is the same + as accessing the <literal>tagname</literal> property, or calling + <function>DomElement->node_name</function> of the current node. + </para> + <para> + <example> + <title>Getting the node name</title> + <programlisting role="php"> <![CDATA[ <?php @@ -42,11 +41,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml:1.6 phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml:1.6 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute-node.xml Mon Jun 13 04:57:53 2005 @@ -1,31 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> - <refentry id='function.domelement-get-attribute-node'> - <refnamediv> - <refname>DomElement->get_attribute_node</refname> - <refpurpose> - Returns the node of the given attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domattribute</type><methodname>DomElement->get_attribute_node</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - Returns the node of the attribute named <parameter>name</parameter> - in the current element. The <parameter>name</parameter> parameter is - case sensitive. - </para> - <para> - If no attribute with given name is found, &false; is returned. - </para> - <para> - <example> - <title>Getting an attribute node</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domelement-get-attribute-node'> + <refnamediv> + <refname>DomElement->get_attribute_node</refname> + <refpurpose> + Returns the node of the given attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domattribute</type><methodname>DomElement->get_attribute_node</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + Returns the node of the attribute named <parameter>name</parameter> + in the current element. The <parameter>name</parameter> parameter is + case sensitive. + </para> + <para> + If no attribute with given name is found, &false; is returned. + </para> + <para> + <example> + <title>Getting an attribute node</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,11 +42,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.8 phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.9 --- phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.8 Mon Nov 8 07:10:19 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.28 --> - <refentry id='function.domelement-get-attribute'> - <refnamediv> - <refname>DomElement->get_attribute</refname> - <refpurpose> - Returns the value of the given attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomElement->get_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - Returns the value of the attribute named <parameter>name</parameter> - in the current node. The <parameter>name</parameter> parameter is case - sensitive. - </para> - <para> - Since PHP 4.3, if no attribute with given <parameter>name</parameter> is - found, an empty string is returned. - </para> - <para> - <example> - <title>Getting the value of an attribute</title> - <programlisting role="php"> +<!-- $Revision: 1.9 $ --> +<refentry id='function.domelement-get-attribute'> + <refnamediv> + <refname>DomElement->get_attribute</refname> + <refpurpose> + Returns the value of the given attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomElement->get_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + Returns the value of the attribute named <parameter>name</parameter> + in the current node. The <parameter>name</parameter> parameter is case + sensitive. + </para> + <para> + Since PHP 4.3, if no attribute with given <parameter>name</parameter> is + found, an empty string is returned. + </para> + <para> + <example> + <title>Getting the value of an attribute</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,14 +42,14 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domelement_set_attribute</function> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domelement_set_attribute</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml:1.10 phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml:1.11 --- phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml:1.10 Mon Nov 1 11:22:46 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-elements-by-tagname.xml Mon Jun 13 04:57:53 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domelement-get-elements-by-tagname'> - <refnamediv> - <refname>DomElement->get_elements_by_tagname</refname> - <refpurpose> - Gets elements by tagname - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>DomElement->get_elements_by_tagname</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - This function returns an array with all the elements which has - <parameter>name</parameter> as his tagname. Every element of the - array is a DomElement. - </para> - <para> - <example> - <title>Getting a content</title> - <programlisting role="php"> +<!-- $Revision: 1.11 $ --> +<refentry id='function.domelement-get-elements-by-tagname'> + <refnamediv> + <refname>DomElement->get_elements_by_tagname</refname> + <refpurpose> + Gets elements by tagname + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomElement->get_elements_by_tagname</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + This function returns an array with all the elements which has + <parameter>name</parameter> as his tagname. Every element of the + array is a DomElement. + </para> + <para> + <example> + <title>Getting a content</title> + <programlisting role="php"> <![CDATA[ <?php if (!$dom = domxml_open_mem($xmlstr)) { @@ -41,11 +40,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.7 phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.7 Mon Nov 8 07:10:19 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domelement-has-attribute'> - <refnamediv> - <refname>DomElement->has_attribute</refname> - <refpurpose> - Checks to see if an attribute exists in the current node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomElement->has_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - This functions checks to see if an attribute named - <parameter>name</parameter> exists in the current node. - </para> - <para> - <example> - <title>Testing the existence of an attribute</title> - <programlisting role="php"> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domelement-has-attribute'> + <refnamediv> + <refname>DomElement->has_attribute</refname> + <refpurpose> + Checks to see if an attribute exists in the current node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomElement->has_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + This functions checks to see if an attribute named + <parameter>name</parameter> exists in the current node. + </para> + <para> + <example> + <title>Testing the existence of an attribute</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,11 +42,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml:1.5 phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml:1.5 Mon Nov 1 11:22:47 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-remove-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domelement-remove-attribute'> - <refnamediv> - <refname>DomElement->remove_attribute</refname> - <refpurpose> - Removes attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomElement->remove_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domelement-remove-attribute'> + <refnamediv> + <refname>DomElement->remove_attribute</refname> + <refpurpose> + Removes attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomElement->remove_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml:1.5 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-set-attribute-node.xml Mon Jun 13 04:57:53 2005 @@ -1,25 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> +<!-- $Revision: 1.6 $ --> <!-- This function is not implemented at all for the time being - <refentry id='function.domelement-set-attribute-node'> - <refnamediv> - <refname>DomElement->set_attribute_node</refname> - <refpurpose> - Adds new attribute - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>domnode</type><methodname>DomElement->set_attribute_node</methodname> - <methodparam><type>domnode</type><parameter>attr</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<refentry id='function.domelement-set-attribute-node'> + <refnamediv> + <refname>DomElement->set_attribute_node</refname> + <refpurpose> + Adds new attribute + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>domnode</type><methodname>DomElement->set_attribute_node</methodname> + <methodparam><type>domnode</type><parameter>attr</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> --> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml:1.9 phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-set-attribute.xml Mon Jun 13 04:57:53 2005 @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> - <refentry id='function.domelement-set-attribute'> - <refnamediv> - <refname>DomElement->set_attribute</refname> - <refpurpose> - Sets the value of an attribute - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domattribute</type><methodname>DomElement->set_attribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - <methodparam><type>string</type><parameter>value</parameter></methodparam> - </methodsynopsis> - <para> - Sets an attribute with name <parameter>name</parameter> to the given - <parameter>value</parameter>. If the attribute does not exist, it will - be created. - </para> - <para> - <example> - <title>Setting an attribute</title> - <programlisting role="php"> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domelement-set-attribute'> + <refnamediv> + <refname>DomElement->set_attribute</refname> + <refpurpose> + Sets the value of an attribute + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domattribute</type><methodname>DomElement->set_attribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + <methodparam><type>string</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <para> + Sets an attribute with name <parameter>name</parameter> to the given + <parameter>value</parameter>. If the attribute does not exist, it will + be created. + </para> + <para> + <example> + <title>Setting an attribute</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -32,14 +31,14 @@ $newnode->set_attribute("align", "left"); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domelement_get_attribute</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domelement_get_attribute</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-tagname.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-tagname.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-tagname.xml:1.5 phpdoc/en/reference/domxml/functions/DomElement-tagname.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomElement-tagname.xml:1.5 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-tagname.xml Mon Jun 13 04:57:53 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> - <refentry id='function.domelement-tagname'> - <refnamediv> - <refname>DomElement->tagname</refname> - <refpurpose> - Returns the name of the current element - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomElement->tagname</methodname> - <void/> - </methodsynopsis> - <para> - Returns the name of the current node. Calling this function is the same - as accessing the <literal>tagname</literal> property, or calling - <function>DomElement->node_name</function> of the current node. - </para> - <para> - <example> - <title>Getting the node name</title> - <programlisting role="php"> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domelement-tagname'> + <refnamediv> + <refname>DomElement->tagname</refname> + <refpurpose> + Returns the name of the current element + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomElement->tagname</methodname> + <void/> + </methodsynopsis> + <para> + Returns the name of the current node. Calling this function is the same + as accessing the <literal>tagname</literal> property, or calling + <function>DomElement->node_name</function> of the current node. + </para> + <para> + <example> + <title>Getting the node name</title> + <programlisting role="php"> <![CDATA[ <?php @@ -42,11 +41,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: