|
DOMNode::insertBeforeAdds a new child before a reference node Description
public DOMNodefalse DOMNode::insertBefore(DOMNode
$node , DOMNodenull $child = null )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. When using an existing node it will be moved. Parameters
Return Values
The inserted node or Errors/Exceptions
See Also
|