eZDOMNode handles DOM nodes in DOM documents
More...
List of all members.
Detailed Description
eZDOMNode handles DOM nodes in DOM documents
Type of the DOM node can be: ElementNode=1, AttributeNode=2, TextNode=3, CDATASectionNode=4 - See also:
-
eZDOMDocument
Definition at line ezdomnode.php.
Constructor & Destructor Documentation
Member Function Documentation
eZDOMNode::appendAttribute |
( |
&$ |
node |
) |
|
|
eZDOMNode::appendChild |
( |
&$ |
node |
) |
|
|
& eZDOMNode::attributes |
( |
|
) |
|
|
& eZDOMNode::attributeValue |
( |
$ |
attributeName |
) |
|
|
|
Returns the attribute value for the given attribute. If no value is found false is returned.
Definition at line ezdomnode.php. |
& eZDOMNode::attributeValueNS |
( |
$ |
attributeName, |
|
|
$ |
namespaceURI |
|
) |
|
|
|
Returns the attribute value for the given attribute name and namespace. If no value is found false is returned.
Definition at line ezdomnode.php.
References namespaceURI(). |
& eZDOMNode::children |
( |
|
) |
|
|
|
Makes a copy of the current node and returns a reference to it.
Definition at line ezdomnode.php.
References Type. |
& eZDOMNode::firstChild |
( |
|
) |
|
|
|
Returns the first node children or null if no children.
Definition at line ezdomnode.php.
References Children. |
& eZDOMNode::lastChild |
( |
|
) |
|
|
|
- Returns:
-
the last appended child
Definition at line ezdomnode.php. |
|
Returns the local name of the node if the node uses namespaces. If not false is returned.
Definition at line ezdomnode.php.
References LocalName. |
eZDOMNode::namespaceURI |
( |
|
) |
|
|
eZDOMNode::removeLastChild |
( |
|
) |
|
|
|
Removes the last appended child node
Definition at line ezdomnode.php. |
eZDOMNode::removeNamedAttribute |
( |
$ |
name |
) |
|
|
eZDOMNode::removeNamedChildren |
( |
$ |
name |
) |
|
|
eZDOMNode::setContent |
( |
$ |
content |
) |
|
|
eZDOMNode::setName |
( |
$ |
name |
) |
|
|
eZDOMNode::setNamespaceURI |
( |
$ |
uri |
) |
|
|
eZDOMNode::setPrefix |
( |
$ |
value |
) |
|
|
|
Sets the namespace prefix for this element.
Definition at line ezdomnode.php.
References Prefix. |
eZDOMNode::setType |
( |
$ |
type |
) |
|
|
|
Sets the node type. Type of the DOM node can be: ElementNode=1, AttributeNode=2, TextNode=3, CDATASectionNode=4
Definition at line ezdomnode.php.
References type(). |
& eZDOMNode::textContent |
( |
|
) |
|
|
|
Returns the contents of the node if it has one child which is a text node. False is returned if unsuccessful.
Definition at line ezdomnode.php.
References children(). |
& eZDOMNode::toString |
( |
$ |
level, |
|
|
$ |
charset = false |
|
) |
|
|
|
Returns a XML string of the DOM Node and subnodes
Definition at line ezdomnode.php.
References Prefix. |
|
Returns the node type. Type of the DOM node can be: ElementNode=1, AttributeNode=2, TextNode=3, CDATASectionNode=4
Definition at line ezdomnode.php.
References Type.
Referenced by setType(). |
Member Data Documentation
eZDOMNode::Name = false [private]
|
|
The documentation for this class was generated from the following file:
|