public createNodeValue ( DOMNode $parent_node, string $name, string $value ) : DOMNode | ||
$parent_node | DOMNode | Attach the new node to this parent. |
$name | string | Name of the new child node. |
$value | string | Text value of the new child node. |
return | DOMNode | The new child node. |