Свойство | Тип | Описание | |
---|---|---|---|
$cache | array | Array of filepaths |
Метод | Описание | |
---|---|---|
getCacheKey ( string $name ) : string | Gets the cache key to use for the cache for a given template name. | |
getSource ( string $name ) : string | Gets the source code of a template, given its name. | |
isFresh ( string $name, timestamp $time ) | Returns true if the template is still fresh. |
Метод | Описание | |
---|---|---|
findTemplate ( string $name ) : string | Find the template using the find_file method. |
protected findTemplate ( string $name ) : string | ||
$name | string | The name of the template |
Результат | string | The full path to the template. |
public getCacheKey ( string $name ) : string | ||
$name | string | string The name of the template to load |
Результат | string | The cache key |