Class: TableHeader
Properties
$vals
List of values to alternate between.
$counter
The internal position counter.
$current
Always keeps the value of the current array position here.
$headers = array ()
List of HTTP headers to be sent with the document. @see addHeader()
$meta = array ()
List of metadata attributes, which can be rendered as HTML meta tags using
the makeMeta() method. To render them into your XT templates, simply
add an xt:var tag with the name "makeMeta".
$scripts = array ()
List of javascript scripts, which can be rendered as HTML script tags using
the makeJavascript() method. To render them into your XT templates, simply
add an xt:var tag with the name "makeJavascript".
$styles = array ()
Array used to prevent duplicate loading of stylesheets.
$template_set = 'default'
The template set to use for output.
$trues = array ('on', 'On', 'yes', 'Yes', 'true', 'True')
$falses = array ('off', 'Off', 'no', 'No', 'false', 'False')
$list = array ()
$iterator = 0
$strReplacements = array (
'>' => '>', // convert HTML '>' entity into proper symbol
'<' => '<', // convert HTML '<' entity into proper symbol
'.' => '->', // convert '.' into '->'
' ->' => ' .', // convert ' ->' back into ' .'
'-> ' => '. ', // convert '-> ' back into '. '
' _ ' => ' . ', // convert ' _ ' into ' . '
' AND ' => ' && ',
' and ' => ' && ',
' OR ' => ' || ',
' or ' => ' || ',
' GT ' => ' > ',
' gt ' => ' > ',
' GE ' => ' >= ',
' ge ' => ' >= ',
' LT ' => ' < ',
' lt ' => ' < ',
' LE ' => ' <= ',
' le ' => ' <= ',
' NE ' => ' != ',
' ne ' => ' != ',
' NEQ ' => ' !== ',
' neq ' => ' !== ',
' EQ ' => ' == ',
' eq ' => ' == ',
' EQQ ' => ' === ',
' eqq ' => ' === ',
' MOD ' => ' %% ',
' mod ' => ' %% ',
' PLUS ' => ' + ',
' plus ' => ' + ',
' X ' => ' * ',
' x ' => ' * ',
// see below for NOT => !
)
The list of str_replace()-able tokens within the expression.
$pregReplacements = array (
// convert '"somename->' or '"somename[' back into '"somename.'
'/(\'|")([a-zA-Z0-9_-]+)(->|\[)/' => '\1\2.',
// convert '->"' back into '".'
'/(->|\[)(\'|")/' => '.\2',
// convert '"->' back into '".'
'/(\'|")(->|\[)/' => '\1.',
// convert ' somename->' or '(somename['
// into ' $somevar->' or '($somevar['
'/([ \(])([a-zA-Z0-9_-]+)(->|\[)/' => '\1$GLOBALS[\'\2\']\3',
// convert '[somevar]' to '['somevar']'
'/\[([a-zA-Z0-9_-]+)\]/' => '[\'\1\']',
// not to !
'/ ?not /i' => ' ! ',
)
The list of preg_replace()-able tokens within the expression.
$sprintfVars = array ()
The list of quoted parts of the current expression.
Return to Top
Methods
TableHeader ($name, $fullname)
isCurrent ()
getSort ()
Return to Top