Textpattern | PHP Cross Reference | Content Management Systems |
Description: Handles template tag registry.
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Registry:: (4 methods):
register()
process()
isRegistered()
getRegistered()
register($callback, $tag = null) line: 43 |
Registers a tag. <code> Txp::get('\Textpattern\Tag\Registry')->register(array('class', 'method'), 'tag'); </code> return: \Textpattern\Tag\Registry param: callback $callback The tag callback param: string|null $tag The tag name |
process($tag, array $atts = null, $thing = null) line: 71 |
Processes a tag by name. return: string|bool The tag's results (string) or FALSE on unknown tags param: string $tag The tag param: array|null $atts An array of Attributes param: string|null $thing The contained statement |
isRegistered($tag) line: 89 |
Checks if a tag is registered. return: bool TRUE if the tag exists param: string $tag The tag |
getRegistered() line: 101 |
Lists registered tags. return: array |
title