|
DOMNode::insertBeforeAdds a new child before a reference node Description
public DOMNode DOMNode::insertBefore
( DOMNode
$newnode
[, DOMNode $refnode
] )This function inserts a new node right before the reference node. If you plan to do further modifications on the appended child you must use the returned node. Parameters
Return ValuesThe inserted node. Errors/Exceptions
See Also
|