|
| __construct ($xml_file, $lang_type) |
|
| compile () |
|
| getCompileContent () |
|
| _compile () |
|
| _writeFile () |
|
| _parseItem ($item, $var) |
|
| _parseValues ($nodes, $var) |
|
| _parseValue ($node, $var) |
|
| _getCompiledFileName ($lang_type, $type= 'php') |
|
| loadXmlFile ($filename) |
|
| parse ($input= '', $arg1=NULL, $arg2=NULL) |
|
| _tagOpen ($parser, $node_name, $attrs) |
|
| _tagBody ($parser, $body) |
|
| _tagClosed ($parser, $node_name) |
|
| _arrToAttrsObj ($arr) |
|
Definition at line 11 of file XmlLangParser.class.php.
XmlLangParser::__construct |
( |
|
$xml_file, |
|
|
|
$lang_type |
|
) |
| |
XmlLangParser::_compile |
( |
| ) |
|
XmlLangParser::_getCompiledFileName |
( |
|
$lang_type, |
|
|
|
$type = 'php' |
|
) |
| |
XmlLangParser::_parseItem |
( |
|
$item, |
|
|
|
$var |
|
) |
| |
XmlLangParser::_parseValue |
( |
|
$node, |
|
|
|
$var |
|
) |
| |
XmlLangParser::_parseValues |
( |
|
$nodes, |
|
|
|
$var |
|
) |
| |
XmlLangParser::_writeFile |
( |
| ) |
|
XmlLangParser::compile |
( |
| ) |
|
compile a xml_file only when a corresponding php lang file does not exists or is outdated
- Returns
- string|bool Returns compiled php file.
Definition at line 67 of file XmlLangParser.class.php.
XmlLangParser::getCompileContent |
( |
| ) |
|
Return compiled content
- Returns
- string Returns compiled lang source code
Definition at line 96 of file XmlLangParser.class.php.
XmlLangParser::$compiled_path = './files/cache/lang/' |
XmlLangParser::$lang_type |
XmlLangParser::$lang_types |
XmlLangParser::$php_file = NULL |
XmlLangParser::$xml_file = NULL |
The documentation for this class was generated from the following file: