Property | Type | Description | |
---|---|---|---|
$has_compiled |
Property | Type | Description | |
---|---|---|---|
$bootstrap | |||
$cache_dir | |||
$check_get | |||
$check_set | |||
$check_ttl | |||
$compiler | |||
$debug | |||
$hash_filename | |||
$templates_dir | |||
$use_autoload |
Method | 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 ) | }}} |
Method | Description | |
---|---|---|
getCompiler ( boolean $checkdir = TRUE ) : Haanga_Compiler_Runtime | This function is a singleton for the Haanga_Compiler_Runtime class. |
Method | Description | |
---|---|---|
__construct ( ) |
public static Safe_Load ( $file, $vars = [], $return = FALSE, $blocks = [] ) |
public static checkCacheDir ( ) : void | ||
return | void |
protected static getCompiler ( boolean $checkdir = TRUE ) : Haanga_Compiler_Runtime | ||
$checkdir | boolean | TRUE @return Haanga_Compiler_Runtime |
return | Haanga_Compiler_Runtime |