ParserFallback
class ParserFallback implements ParserInterface
Class ParserFallback
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 23
render($realTemplateName,
array $parameters = array(), $compressOutput = true)
at line 28
renderString($templateText,
array $parameters = array(), $compressOutput = true)
at line 33
getStatus()
at line 38
setStatus($status)
at line 48
setTemplateDefinition(
TemplateDefinition $templateDefinition)
Setup the parser with a template definition, which provides a template description.
at line 61
TemplateDefinition
getTemplateDefinition(
bool $webAssetTemplate = false)
Get template definition
at line 76
addTemplateDirectory(
int $templateType,
string $templateName,
string $templateDirectory,
string $key,
bool $unshift = false)
Add a template directory to the current template list
at line 88
array:
getTemplateDirectories(
int $templateType)
Return the registeted template directories for a givent template type
at line 99
assign(
string $variable,
mixed $value)
Create a variable that will be available in the templates