public __construct ( string | array $tag, |
||
$tag | string | array | Name of the tag, or array with taginfo (array( 'tag_name' => 'tag', 'self_close' => false, 'attributes' => array('attribute' => 'value'))) |
$parent | Parent of node, null if none |