Class Horde_DOM_Node

Description

Located in /DOM/DOM.php (line 265)


	
			
Direct descendents
Variable Summary
 mixed $document
 mixed $node
Method Summary
 Horde_DOM_Node Horde_DOM_Node ( $domNode, [ $domDocument = null], DOMNode $node, Horde_DOM_Document $document)
 array attributes ()
 void child_nodes ()
 void clone_node ()
 void first_child ()
 string get_content ()
 void has_child_nodes ()
 void next_sibling ()
 void node_name ()
 integer node_type ()
 void node_value ()
 DOMNode set_content (string $text)
 Horde_DOM_Node _newDOMElement (DOMNode $node, Horde_DOM_Document $document)
 void __get ( $name)
Variables
mixed $document (line 268)
mixed $node (line 267)
Methods
Constructor Horde_DOM_Node (line 278)

Wrap a DOMNode into the Horde_DOM_Node class.

  • return: The wrapped node
Horde_DOM_Node Horde_DOM_Node ( $domNode, [ $domDocument = null], DOMNode $node, Horde_DOM_Document $document)
  • DOMNode $node: The DOMXML node
  • Horde_DOM_Document $document: The parent document
  • $domNode
  • $domDocument
append_child (line 415)

Append a new node

  • return: The resulting node
Horde_DOM_Node append_child (Horde_DOM_Node $newnode)
attributes (line 344)

Return the attributes of this node.

  • return: Attributes of this node.
array attributes ()
child_nodes (line 323)
void child_nodes ()
clone_node (line 403)
void clone_node ()
first_child (line 360)
void first_child ()
get_content (line 370)

Return the content of this node.

  • return: Text content of this node.
string get_content ()
has_child_nodes (line 375)
void has_child_nodes ()
next_sibling (line 380)
void next_sibling ()
node_name (line 394)
void node_name ()
node_type (line 318)

Return the type of this node.

  • return: Type of this node.
integer node_type ()
node_value (line 389)
void node_value ()
remove_child (line 427)

Remove a child node

  • return: The resulting node
Horde_DOM_Node remove_child (Horde_DOM_Node $oldchild)
set_content (line 308)

Set the content of this node.

  • return: The modified node.
DOMNode set_content (string $text)
  • string $text: The new content of this node.

Redefined in descendants as:
_importNode (line 467)

Private function to import DOMNode from another DOMDocument.

  • return: The wrapped node
Horde_DOM_Node _importNode (Horde_DOM_Node $newnode)
_newDOMElement (line 440)

Return a node of this class type.

  • return: The wrapped node
Horde_DOM_Node _newDOMElement (DOMNode $node, Horde_DOM_Document $document)

Redefined in descendants as:
__get (line 284)
void __get ( $name)
  • $name

Redefined in descendants as:

Documentation generated on Sun, 30 Jan 2011 05:16:53 +0000 by phpDocumentor 1.4.3