new TemplateTag - jcobban/Genealogy GitHub Wiki
$tag = new TemplateTag($template, $start, $inTemplate)
This creates an instance of TemplateTag. It takes the following parameters:
parameter | description |
---|---|
$template | containing instance of Template |
$start | starting offset in $template->page. This is currently assumed to be the offset of a less-than sign. |
$inTemplate | true if parsing inside an HTML5 <template> tag, which implies that tags with id attributes are not to be added to the table used to implement $template->getElementById. |
Next: $tag->printTag()