Create a new node.
public createNewNode ( DOMNode $parent_node, string $name ) : DOMNode | ||
$parent_node | DOMNode | Attach the new node to this parent. |
$name | string | Name of the new child node. |
Результат | DOMNode | The new child node. |
public createNewNode ( DOMNode $parent_node, string $name ) : DOMNode | ||
$parent_node | DOMNode | Attach the new node to this parent. |
$name | string | Name of the new child node. |
Результат | DOMNode | The new child node. |