Свойство | Type | Description | |
---|---|---|---|
$has_compiled |
Свойство | Type | Description | |
---|---|---|---|
$bootstrap | |||
$cache_dir | |||
$check_get | |||
$check_set | |||
$check_ttl | |||
$compiler | |||
$debug | |||
$hash_filename | |||
$templates_dir | |||
$use_autoload |
Méthode | Description | |
---|---|---|
Load ( string $file, array $vars = [], boolean $return = FALSE, array $blocks = [] ) : string | null | Load | |
Safe_Load ( $file, $vars = [], $return = FALSE, $blocks = [] ) | safe_load(string $file, array $vars, bool $return, array $blocks) {{{ | |
checkCacheDir ( ) : void | Check the directory where the compiled templates are stored. | |
compile ( string $tpl, array $context = [] ) : callback($vars=array(), | Compile one template and return a PHP function | |
configure ( array $opts ) : void | Configuration to load Haanga | |
enableDebug ( $bool ) | enableDebug($bool) {{{ | |
getTemplateDir ( ) | ||
getTemplatePath ( $file ) | }}} |
Méthode | Description | |
---|---|---|
getCompiler ( boolean $checkdir = TRUE ) : Haanga_Compiler_Runtime | This function is a singleton for the Haanga_Compiler_Runtime class. |
Méthode | Description | |
---|---|---|
__construct ( ) |
public static Safe_Load ( $file, $vars = [], $return = FALSE, $blocks = [] ) |
public static checkCacheDir ( ) : void | ||
Résultat | void |
protected static getCompiler ( boolean $checkdir = TRUE ) : Haanga_Compiler_Runtime | ||
$checkdir | boolean | TRUE @return Haanga_Compiler_Runtime |
Résultat | Haanga_Compiler_Runtime |