DOMATTR(3) 1 DOMATTR(3)
The DOMAttr class
INTRODUCTION
DOMAttr represents an attribute in the DOMElement object.
CLASS SYNOPSIS
DOMAttr
DOMAttrextends
DOMNode
Properties
o publicreadonly string$name
o publicreadonly DOMElement$ownerElement
o publicreadonly bool$schemaTypeInfo
o publicreadonly bool$specified
o public string$value
Methods
o public DOMAttr::__construct (string $name, [string $value])
o public bool DOMAttr::isId (void )
Inherited methods
o public DOMNode DOMNode::appendChild (DOMNode $newnode)
o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public DOMNode DOMNode::cloneNode ([bool $deep])
o public int DOMNode::getLineNo (void )
o public string DOMNode::getNodePath (void )
o public bool DOMNode::hasAttributes (void )
o public bool DOMNode::hasChildNodes (void )
o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode])
o public bool DOMNode::isDefaultNamespace (string $namespaceURI)
o public bool DOMNode::isSameNode (DOMNode $node)
o public bool DOMNode::isSupported (string $feature, string $version)
o public string DOMNode::lookupNamespaceURI (string $prefix)
o public string DOMNode::lookupPrefix (string $namespaceURI)
o public void DOMNode::normalize (void )
o public DOMNode DOMNode::removeChild (DOMNode $oldnode)
o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode)
PROPERTIES
o $name
-The name of the attribute
o $ownerElement
-The element which contains the attribute
o $schemaTypeInfo
-Not implemented yet, always is NULL
o $specified
-Not implemented yet, always is NULL
o $value
-The value of the attribute
SEE ALSO
oW3C specification of Attr
PHP Documentation Group DOMATTR(3)