ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (Twig_Environment $env, $name='index.twig') | |
getZero () | |
getEmpty () | |
getString () | |
getTrue () | |
getTemplateName () | |
getDebugInfo () | |
getAttribute ($object, $item, array $arguments=array(), $type=Twig_Template::ANY_CALL, $isDefinedTest=false, $ignoreStrictCheck=false) | |
block_name ($context, array $blocks=array()) | |
![]() | |
__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... | |
Protected Member Functions | |
doGetParent (array $context) | |
doDisplay (array $context, array $blocks=array()) | |
![]() | |
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 | |
![]() | |
const | ANY_CALL = 'any' |
const | ARRAY_CALL = 'array' |
const | METHOD_CALL = 'method' |
![]() | |
$parent | |
$parents = array() | |
$env | |
$blocks = array() | |
$traits = array() | |
![]() | |
static | $cache = array() |
Definition at line 443 of file TemplateTest.php.
Twig_TemplateTest::__construct | ( | Twig_Environment | $env, |
$name = 'index.twig' |
|||
) |
Twig_TemplateTest::block_name | ( | $context, | |
array | $blocks = array() |
||
) |
Definition at line 502 of file TemplateTest.php.
|
protected |
Definition at line 489 of file TemplateTest.php.
|
protected |
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 |
|||
) |
Definition at line 493 of file TemplateTest.php.
References $type.
Twig_TemplateTest::getDebugInfo | ( | ) |
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 | ( | ) |
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.