CachedStringTemplateLoader
This loader is to use when you load a template whose source is directly a PHP string and not a file. It supports caching and saves cache files in the /cache/tpl directory, using a md5 hash to distinguish eache string input.
- CachedStringTemplateLoader implements TemplateLoader
public
|
|
public
string
|
|
public
boolean
|
#
supports_caching( )
Tells whether the loader supports caching. If it supports it, its |
public
string
|
#
get_cache_file_path( )
Returns the path of the cache file that can be directly executed by the include PHP instruction.
This method must be called only if the loader supports caching, the |