ParserInterface
interface ParserInterface
Constants
TEMPLATE_ASSETS_KEY |
|
Methods
render($realTemplateName,
array $parameters = array(), $compressOutput = true)
No description
renderString($templateText,
array $parameters = array(), $compressOutput = true)
No description
getStatus()
No description
setStatus($status)
No description
setTemplateDefinition(
TemplateDefinition $templateDefinition)
Setup the parser with a template definition, which provides a template description.
getTemplateDefinition(
bool $webAssetTemplate = false)
Get template definition
addTemplateDirectory(
int $templateType,
string $templateName,
string $templateDirectory,
string $key,
bool $unshift = false)
Add a template directory to the current template list
array:
getTemplateDirectories(
int $templateType)
Return the registeted template directories for a givent template type
assign(
string $variable,
mixed $value)
Create a variable that will be available in the templates
getTemplateHelper()
No description
Details
at line 27
render($realTemplateName,
array $parameters = array(), $compressOutput = true)
at line 29
renderString($templateText,
array $parameters = array(), $compressOutput = true)
at line 31
getStatus()
at line 33
setStatus($status)
at line 40
setTemplateDefinition(
TemplateDefinition $templateDefinition)
Setup the parser with a template definition, which provides a template description.
at line 50
TemplateDefinition
getTemplateDefinition(
bool $webAssetTemplate = false)
Get template definition
at line 62
addTemplateDirectory(
int $templateType,
string $templateName,
string $templateDirectory,
string $key,
bool $unshift = false)
Add a template directory to the current template list
at line 71
array:
getTemplateDirectories(
int $templateType)
Return the registeted template directories for a givent template type
at line 79
assign(
string $variable,
mixed $value)
Create a variable that will be available in the templates