Textpattern | PHP Cross Reference | Content Management Systems |
Description: Textpack parser.
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Parser:: (4 methods):
__construct()
setLanguage()
setOwner()
parse()
__construct() line: 51 |
Constructor. |
setLanguage($language) line: 61 |
Sets the default language. param: string $language The language code |
setOwner($owner) line: 72 |
Sets the default owner. param: string $owner The default owner |
parse($textpack) line: 83 |
Converts a Textpack to an array. <code> $textpack = \Textpattern\Textpack\Parser(); print_r( $textpack->parse("string => translation") ); </code> return: array An array of translations param: string $textpack The Textpack |
title