|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Twig_TemplateTest:
Collaboration diagram for Twig_TemplateTest:Public Member Functions | |
| __construct (Twig_Environment $env, $name='index.twig') | |
| getZero () | |
| getEmpty () | |
| getString () | |
| getTrue () | |
| getTemplateName () | |
| Returns the template name. More... | |
| getDebugInfo () | |
| Returns debug information about the template. More... | |
| getAttribute ($object, $item, array $arguments=array(), $type=Twig_Template::ANY_CALL, $isDefinedTest=false, $ignoreStrictCheck=false) | |
| Returns the attribute value for a given array/object. More... | |
| block_name ($context, array $blocks=array()) | |
Public Member Functions inherited from Twig_Template | |
| __construct (Twig_Environment $env) | |
| __toString () | |
| getTemplateName () | |
| Returns the template name. More... | |
| getDebugInfo () | |
| Returns debug information about the template. More... | |
| getSource () | |
| Returns the template source code. More... | |
| getSourceContext () | |
| Returns information about the original template source code. More... | |
| getEnvironment () | |
| getParent (array $context) | |
| Returns the parent template. More... | |
| isTraitable () | |
| displayParentBlock ($name, array $context, array $blocks=array()) | |
| Displays a parent block. More... | |
| displayBlock ($name, array $context, array $blocks=array(), $useBlocks=true) | |
| Displays a block. More... | |
| renderParentBlock ($name, array $context, array $blocks=array()) | |
| Renders a parent block. More... | |
| renderBlock ($name, array $context, array $blocks=array(), $useBlocks=true) | |
| Renders a block. More... | |
| hasBlock ($name, array $context=null, array $blocks=array()) | |
| Returns whether a block exists or not in the current context of the template. More... | |
| getBlockNames (array $context=null, array $blocks=array()) | |
| Returns all block names in the current context of the template. More... | |
| getBlocks () | |
| Returns all blocks. More... | |
| display (array $context, array $blocks=array()) | |
| Displays the template with the given context. More... | |
| render (array $context) | |
| Renders the template with the given context and returns it as string. More... | |
| 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... | |
Protected Member Functions | |
| doGetParent (array $context) | |
| doDisplay (array $context, array $blocks=array()) | |
| Auto-generated method to display the template with the given context. More... | |
Protected Member Functions inherited from Twig_Template | |
| doGetParent (array $context) | |
| loadTemplate ($template, $templateName=null, $line=null, $index=null) | |
| displayWithErrorHandling (array $context, array $blocks=array()) | |
| doDisplay (array $context, array $blocks=array()) | |
| Auto-generated method to display the template with the given context. More... | |
| getContext ($context, $item, $ignoreStrictCheck=false) | |
| Returns a variable from the context. More... | |
| getAttribute ($object, $item, array $arguments=array(), $type=self::ANY_CALL, $isDefinedTest=false, $ignoreStrictCheck=false) | |
| Returns the attribute value for a given array/object. More... | |
Private Attributes | |
| $name | |
Additional Inherited Members | |
Data Fields inherited from Twig_TemplateInterface | |
| const | ANY_CALL = 'any' |
| const | ARRAY_CALL = 'array' |
| const | METHOD_CALL = 'method' |
Protected Attributes inherited from Twig_Template | |
| $parent | |
| $parents = array() | |
| $env | |
| $blocks = array() | |
| $traits = array() | |
Static Protected Attributes inherited from Twig_Template | |
| static | $cache = array() |
Definition at line 443 of file TemplateTest.php.
| Twig_TemplateTest::__construct | ( | Twig_Environment | $env, |
$name = 'index.twig' |
|||
| ) |
Definition at line 447 of file TemplateTest.php.
References Twig_Template\$env, and $name.
| Twig_TemplateTest::block_name | ( | $context, | |
| array | $blocks = array() |
||
| ) |
Definition at line 502 of file TemplateTest.php.
|
protected |
Auto-generated method to display 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 |
Reimplemented from Twig_Template.
Definition at line 489 of file TemplateTest.php.
|
protected |
Reimplemented from Twig_Template.
Definition at line 484 of file TemplateTest.php.
| Twig_TemplateTest::getAttribute | ( | $object, | |
| $item, | |||
| array | $arguments = array(), |
||
$type = Twig_Template::ANY_CALL, |
|||
$isDefinedTest = false, |
|||
$ignoreStrictCheck = false |
|||
| ) |
Returns the attribute value for a given array/object.
| mixed | $object | The object or array from where to get the item |
| mixed | $item | The item to get from the array or object |
| array | $arguments | An array of arguments to pass if the item is an object method |
| string | $type | The type of attribute ( |
| bool | $isDefinedTest | Whether this is only a defined check |
| bool | $ignoreStrictCheck | Whether to ignore the strict attribute check or not |
| Twig_Error_Runtime | if the attribute does not exist and Twig is running in strict mode and $isDefinedTest is false |
Reimplemented from Twig_Template.
Definition at line 493 of file TemplateTest.php.
References $type.
| Twig_TemplateTest::getDebugInfo | ( | ) |
Returns debug information about the template.
Reimplemented from Twig_Template.
Definition at line 479 of file TemplateTest.php.
| Twig_TemplateTest::getEmpty | ( | ) |
Definition at line 459 of file TemplateTest.php.
| Twig_TemplateTest::getString | ( | ) |
Definition at line 464 of file TemplateTest.php.
| Twig_TemplateTest::getTemplateName | ( | ) |
Returns the template name.
Reimplemented from Twig_Template.
Definition at line 474 of file TemplateTest.php.
References $name.
| Twig_TemplateTest::getTrue | ( | ) |
Definition at line 469 of file TemplateTest.php.
| Twig_TemplateTest::getZero | ( | ) |
Definition at line 454 of file TemplateTest.php.
|
private |
Definition at line 445 of file TemplateTest.php.
Referenced by __construct(), and getTemplateName().