From 41a7e040692feda4db9a9540161180e274c2b434 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 12 Jun 2005 21:09:55 +0000 Subject: [PATCH] =?UTF-8?q?Add=20DOMAttribute->set=C3=A8value()=20docs=20S?= =?UTF-8?q?witch=20the=20other=20DOMAttribute=20methods=20to=20the=20new?= =?UTF-8?q?=20structure=20Added=20documentation,=20pointers=20and=20tips?= =?UTF-8?q?=20to=20switch=20to=20php5=20ext/dom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188243 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../domxml/functions/DomAttribute-name.xml | 39 ++++++--- .../functions/DomAttribute-set-value.xml | 80 +++++++++++++++++++ .../functions/DomAttribute-specified.xml | 41 ++++++++-- .../domxml/functions/DomAttribute-value.xml | 39 +++++++-- 4 files changed, 176 insertions(+), 23 deletions(-) create mode 100644 reference/domxml/functions/DomAttribute-set-value.xml diff --git a/reference/domxml/functions/DomAttribute-name.xml b/reference/domxml/functions/DomAttribute-name.xml index 332736e1a2..bd456761e0 100644 --- a/reference/domxml/functions/DomAttribute-name.xml +++ b/reference/domxml/functions/DomAttribute-name.xml @@ -1,23 +1,44 @@ - + DomAttribute->name - Returns name of attribute + Returns the name of attribute - + &reftitle.description; - - stringDomAttribute->name - - + + DomAttribute + + stringname + + + - This function returns the name of the attribute. + Gets the name of the attribute. + + + &reftitle.returnvalues; - See also domattribute_value for an example. + Returns the name of the attribute. + + + + Migrating to PHP 5 + + Use the name property of + DOMAttr. + + + + &reftitle.seealso; + + + for an example + diff --git a/reference/domxml/functions/DomAttribute-set-value.xml b/reference/domxml/functions/DomAttribute-set-value.xml new file mode 100644 index 0000000000..95c5ae653f --- /dev/null +++ b/reference/domxml/functions/DomAttribute-set-value.xml @@ -0,0 +1,80 @@ + + + + + DomAttribute->set_value + + Sets the value of an attribute + + + + &reftitle.description; + + DomAttribute + + boolset_value + stringcontent + + + + This function sets the value of an attribute. + + + + &reftitle.parameters; + + + + content + + + The new value. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + Migrating to PHP 5 + + Set the value property of + DOMAttr. + + + + &reftitle.seealso; + + + + + + + + + diff --git a/reference/domxml/functions/DomAttribute-specified.xml b/reference/domxml/functions/DomAttribute-specified.xml index 74ce8de680..ade591ac01 100644 --- a/reference/domxml/functions/DomAttribute-specified.xml +++ b/reference/domxml/functions/DomAttribute-specified.xml @@ -1,5 +1,5 @@ - + DomAttribute->specified @@ -7,14 +7,41 @@ Checks if attribute is specified - + &reftitle.description; - - boolDomAttribute->specified - - + + DomAttribute + + boolspecified + + + - Check DOM standard for a detailed explanation. + Checks if the attribute was explicitly given a value in the original + document. + + + + This method is not implemented yet. + + + + + &reftitle.returnvalues; + + &return.success; + + + + &reftitle.seealso; + + + + The definition of specified in the DOM + Recommendations + + diff --git a/reference/domxml/functions/DomAttribute-value.xml b/reference/domxml/functions/DomAttribute-value.xml index ef6e8a851e..e01c364bd7 100644 --- a/reference/domxml/functions/DomAttribute-value.xml +++ b/reference/domxml/functions/DomAttribute-value.xml @@ -1,5 +1,5 @@ - + DomAttribute->value @@ -7,15 +7,21 @@ Returns value of attribute - + &reftitle.description; - - mixedDomAttribute->value - - + + DomAttribute + + stringvalue + + + This function returns the value of the attribute. + + + &reftitle.examples; Getting all the attributes of a node @@ -50,8 +56,27 @@ Attributes of chapter + + + &reftitle.returnvalues; - See also domattribute_name. + Returns the value of the attribute. + + + + Migrating to PHP 5 + + Use the value property of + DOMAttr. + + + + &reftitle.seealso; + + + + +