$buildToc = false
[line 295]
Determines whether the template should build a table of contents (TOC) based on HTML header tags found within.
Defaults to false, and must be set to true in order to generate TOCs.
Tags:
$cacheCount = 0
[line 341]
Used to generate an auto-incrementing ID value for cache elements that are missing an "id" attribute (so as to make the attribute optional).
Tags:
$cacheDuration = 3600
[line 331]
How long in seconds to store the cached elements before regenerating them. May be overridden with the duration attribute of the cache tag. Defaults to 3600 which is one hour.
Tags:
$cacheLocation = 'store:cache/templates/'
[line 321]
Location to store cached contents in. Defaults to 'store:cache/templates/'. Note that the scope will be appended to the $cacheLocation for each cacheable element.
Tags:
$error =
[line 379]
The error message, if an error occurs.
Tags:
$err_byte =
[line 395]
The error byte number, if an error occurs.
Tags:
$err_code =
[line 387]
The error code, if an error occurs.
Tags:
$err_colnum =
[line 411]
The error column number, if an error occurs.
Tags:
$err_line =
[line 403]
The error line number, if an error occurs.
Tags:
$exp =
[line 363]
The XTE object used to evaluate expressions in XT tags.
Tags:
$file = false
[line 354]
Contains the name of the file currently being processed.
This is set in the getDoc() method, so technically it will set the current file even when you're just retrieving its contents. This shouldn't affect its validity for most uses, but when you want to retrieve the last parsed file, it means you have to do so prior to calling getDoc() again, either directly or indirectly.
Tags:
$isHtml = true
[line 267]
Determines whether the template should be treated as HTML or a different kind of markup. This affects tags such as xt:intl where an HTML span tag can be added to surround the string.
Tags:
$output = ''
[line 156]
The output of the current fill() call.
Tags:
$path = ''
[line 148]
The path to the template directory.
Tags:
$prefix = 'xt:'
[line 255]
The current XML namespace XT is looking for to find command tags and attributes.
Tags:
$selfClosing = array (
'img',
'br',
'hr',
'meta',
'link',
'area',
)
[line 277]
Contains a list of tags that are self-closing (ie.
they do not contain any data, such as a br tag). This list is only referenced if $isHtml is true.
Tags:
$toc = array ()
[line 303]
The list of HTML headers found in the document.
Tags:
$_addToHeader = false
[line 305]
$_bind_attrs = array ()
[line 309]
$_bind_list = array ()
[line 307]
$_bind_parts = array ()
[line 311]