This allows fine control over the node's children
The new nodes parent will be set to this node
[element:a]
(0)[element:b]
(1)[element:c]
[element:a]->insertAfter([element:b], [element:d])
[element:a]
(0)[element:b]
(1)[element:d]
(2)[element:c]
public insertAfter ( |
||
$node | the child node of this node's children the new node will be inserted after | |
$newNode | the new node that will be inserted after the first node |