See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
(no description)
File Size: | 378 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Mustache_Tokenizer:: (7 methods):
scan()
reset()
flushBuffer()
changeDelimiters()
setDelimiters()
addPragma()
throwUnclosedTagException()
Class: Mustache_Tokenizer - X-Ref
Mustache Tokenizer class.scan($text, $delimiters = '') X-Ref |
Scan and tokenize template source. param: string $text Mustache template source to tokenize param: string $delimiters Optionally, pass initial opening and closing delimiters (default: empty string) return: array Set of Mustache tokens |
reset() X-Ref |
Helper function to reset tokenizer internal state. |
flushBuffer() X-Ref |
Flush the current buffer to a token. |
changeDelimiters($text, $index) X-Ref |
Change the current Mustache delimiters. Set new `otag` and `ctag` values. param: string $text Mustache template source param: int $index Current tokenizer index return: int New index value |
setDelimiters($delimiters) X-Ref |
Set the current Mustache `otag` and `ctag` delimiters. param: string $delimiters |
addPragma($text, $index) X-Ref |
Add pragma token. Pragmas are hoisted to the front of the template, so all pragma tokens will appear at the front of the token list. param: string $text param: int $index return: int New index value |
throwUnclosedTagException() X-Ref |
No description |