Inversion::Template::
IncludeTag class
Superclass | Inversion::Template::Tag |
Inversion
‘include’ tag.
A tag that inserts other template files into the current template.
Example
<?include /an/absolute/path/to/a/different/template.tmpl ?> <?include a/relative/path/to/a/different/template.tmpl ?>
Attributes
- path R
The path of the included template
Public Class Methods
Create a new IncludeTag
with the specified ‘path`.
Public Instance Methods
Parser callback – append the nodes from the included template onto the tree of the including template.
Parser callback – Load the included template and check for recursive includes.