|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Interface implemented by all compiled templates. More...
Inheritance diagram for Twig_TemplateInterface:
Collaboration diagram for Twig_TemplateInterface:Public Member Functions | |
| render (array $context) | |
| Renders the template with the given context and returns it as string. More... | |
| display (array $context, array $blocks=array()) | |
| Displays the template with the given context. More... | |
| getEnvironment () | |
| Returns the bound environment for this template. More... | |
Data Fields | |
| const | ANY_CALL = 'any' |
| const | ARRAY_CALL = 'array' |
| const | METHOD_CALL = 'method' |
Interface implemented by all compiled templates.
Definition at line 19 of file TemplateInterface.php.
| Twig_TemplateInterface::display | ( | array | $context, |
| array | $blocks = array() |
||
| ) |
Displays the template with the given context.
| array | $context | An array of parameters to pass to the template |
| array | $blocks | An array of blocks to pass to the template |
Implemented in Twig_Template.
| Twig_TemplateInterface::getEnvironment | ( | ) |
Returns the bound environment for this template.
Implemented in Twig_Template.
| Twig_TemplateInterface::render | ( | array | $context | ) |
Renders the template with the given context and returns it as string.
| array | $context | An array of parameters to pass to the template |
Implemented in Twig_Template.
| const Twig_TemplateInterface::ANY_CALL = 'any' |
Definition at line 21 of file TemplateInterface.php.
Referenced by Twig_Node_Expression_GetAttr\compile(), Twig_ExpressionParser\getFunctionNode(), Twig_Tests_TemplateTest\getGetAttributeTests(), Twig_Tests_Node_Expression_GetAttrTest\getTests(), Twig_ExpressionParser\parseSubscriptExpression(), Twig_Tests_TemplateTest\testGetAttributeWithTemplateAsObject(), and Twig_Tests_TemplateTest\testGetAttributeWithTemplateAsObjectForDeprecations().
| const Twig_TemplateInterface::ARRAY_CALL = 'array' |
| const Twig_TemplateInterface::METHOD_CALL = 'method' |
Definition at line 23 of file TemplateInterface.php.
Referenced by Twig_Tests_TemplateTest\getGetAttributeTests(), Twig_Tests_Node_Expression_GetAttrTest\getTests(), Twig_ExpressionParser\parseSubscriptExpression(), Twig_Tests_TemplateTest\testGetAttributeWithTemplateAsObject(), and Twig_Tests_TemplateTest\testGetAttributeWithTemplateAsObjectForDeprecations().