Appends the specified node to the list. Does not check if the node is already present. |
Signature: &appendNode($node) |
Parameters:
DOMIT_Node node - The node to be appended.
|
Returns:
DOMIT_Node - The node that was just appended.
|
Example:
A node is appended to $myNodeList: $returnedNode =& myNodeList->appendNode($aNode); |
Removes the specified node from the list. |
Signature: &removeNode($node) |
Parameters:
DOMIT_Node node - The node to be removed.
|
Returns:
DOMIT_Node - The node that was just removed, or null if it wasn't found.
|
Example:
A node is removed from $myNodeList: $returnedNode =& myNodeList->removeNode($aNode); |