[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Smarty Internal Plugin CompileBase
Author: | Uwe Tews |
File Size: | 176 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getAttributes($compiler, $attributes) X-Ref |
This function checks if the attributes passed are valid The attributes passed for the tag to compile are checked against the list of required and optional attributes. Required attributes must be present. Optional attributes are check against the corresponding list. The keyword '_any' specifies that any attribute will be accepted as valid param: object $compiler compiler object param: array $attributes attributes applied to the tag return: array of mapped attributes for further processing |
openTag($compiler, $openTag, $data = null) X-Ref |
Push opening tag name on stack Optionally additional data can be saved on stack param: object $compiler compiler object param: string $openTag the opening tag's name param: mixed $data optional data saved |
closeTag($compiler, $expectedTag) X-Ref |
Pop closing tag Raise an error if this stack-top doesn't match with expected opening tags param: object $compiler compiler object param: array|string $expectedTag the expected opening tag names return: mixed any type the opening tag's name or saved data |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |