Class FileTemplate
Template stored in file.
- Object
-
Template implements ITemplate
-
FileTemplate implements IFileTemplate
public
|
#
__construct(
string
$file = NULL
)
Constructor. Constructor. Parameters$file string template file path |
public
FileTemplate
|
#
setFile(
string
$file
)
Sets the path to the template file. Sets the path to the template file. Parameters$file string template file pathReturnsFileTemplate provides a fluent interface
Implementation of |
public
string
|
#
getFile(
)
Returns the path to the template file. Returns the path to the template file. Returnsstring template file path
Implementation of |
public
void
|
#
render(
)
Renders template to output. |
public
void
|
#
setCacheStorage(
ICacheStorage
$storage
)
Set cache storage. Set cache storage. Parameters$storage Cache |
public
ICacheStorage
|
#
getCacheStorage(
)
|
Methods Inherited From Template
registerFilter(), getFilters(), render(), save(), __toString(), compile(), registerHelper(), registerHelperLoader(), getHelpers(), __call(), setTranslator(), add(), setParams(), getParams(), __set(), __get(), __isset(), __unset(), optimizePhp()
Methods Inherited From Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Properties Inherited From Template
$warnOnUndefined, $onPrepareFilters