|
Agile Toolkit
4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
|
Public Member Functions | |
| __clone () | |
| isTopTag ($tag) | |
| getTagRef ($tag, &$template) | |
| getTagRefList ($tag, &$template) | |
| is_set ($tag) | |
| cloneRegion ($tag) | |
| dumpTags () | |
| get ($tag) | |
| append ($tag, $value, $delim=false) | |
| set ($tag, $value=null) | |
| trySet ($tag, $value=null) | |
| del ($tag) | |
| tryDel ($tag) | |
| eachTag ($tag, $callable) | |
| findTemplate ($template_name) | |
| loadTemplate ($template_name, $ext=null) | |
| loadTemplateFromString ($str) | |
| recursiveParse ($x) | |
| rebuildTags () | |
| rebuildTagsRegion (&$old, &$new) | |
| render ($region=null) | |
| recursiveRender (&$template) | |
Data Fields | |
| $template = array() | |
| $tags = array() | |
| $top_tags = array('_top') | |
| $default_exception = 'Exception_Template' | |
| $template_file = null | |
| $source = '' | |
| $template_type = 'template' | |
Really fast template parser.
This parser is based on SMlite, but is 2-3 times faster than it. Symantically it works in the same way, but
| __clone | ( | ) |
Reimplemented from AbstractObject.
| append | ( | $ | tag, |
| $ | value, | ||
| $ | delim = false |
||
| ) |
| cloneRegion | ( | $ | tag | ) |
| del | ( | $ | tag | ) |
| dumpTags | ( | ) |
| eachTag | ( | $ | tag, |
| $ | callable | ||
| ) |
| findTemplate | ( | $ | template_name | ) |
| get | ( | $ | tag | ) |
| getTagRef | ( | $ | tag, |
| &$ | template | ||
| ) |
| getTagRefList | ( | $ | tag, |
| &$ | template | ||
| ) |
| is_set | ( | $ | tag | ) |
| isTopTag | ( | $ | tag | ) |
| loadTemplate | ( | $ | template_name, |
| $ | ext = null |
||
| ) |
| loadTemplateFromString | ( | $ | str | ) |
| rebuildTags | ( | ) |
| rebuildTagsRegion | ( | &$ | old, |
| &$ | new | ||
| ) |
| recursiveParse | ( | $ | x | ) |
| recursiveRender | ( | &$ | template | ) |
| render | ( | $ | region = null | ) |
| set | ( | $ | tag, |
| $ | value = null |
||
| ) |
| tryDel | ( | $ | tag | ) |
| trySet | ( | $ | tag, |
| $ | value = null |
||
| ) |
| $default_exception = 'Exception_Template' |
Exception class to use when $this->exception() is called
Reimplemented from AbstractObject.
| $source = '' |
| $tags = array() |
| $template = array() |
| $template_file = null |
| $template_type = 'template' |
| $top_tags = array('_top') |