See also the properties from the inherited class DOMNode ( http://php.net/manual/en/class.domnode.php ), eg. namespaceURI, prefix, localName, etc, especially if you have to deal with namespaced attributes
The DOMAttr class
(PHP 5)
Introducere
DOMAttr represents an attribute in the DOMElement object.
Sinopsisul clasei
DOMAttr
extends
DOMNode
{
/* Proprietăți */
/* Metode */
/* Metode moștenite */
public string DOMNode::C14N
([ bool
$exclusive
[, bool $with_comments
[, array $xpath
[, array $ns_prefixes
]]]] )
public int DOMNode::C14NFile
( string
}$uri
[, bool $exclusive
[, bool $with_comments
[, array $xpath
[, array $ns_prefixes
]]]] )Proprietăți
- name
-
The name of the attribute
- ownerElement
-
The element which contains the attribute
- schemaTypeInfo
-
Not implemented yet, always is
NULL - specified
-
Not implemented yet, always is
NULL - value
-
The value of the attribute
Cuprins
- DOMAttr::__construct — Creates a new DOMAttr object
- DOMAttr::isId — Checks if attribute is a defined ID
chregu at php dot net ¶
4 years ago
