ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testDisplayBlocksAcceptTemplateOnlyAsBlocks () | |
LogicException More... | |
testGetAttributeExceptions ($template, $message) | |
getAttributeExceptions More... | |
getAttributeExceptions () | |
testGetAttributeWithSandbox ($object, $item, $allowed) | |
getGetAttributeWithSandbox More... | |
getGetAttributeWithSandbox () | |
testGetAttributeWithTemplateAsObject () | |
legacy More... | |
testGetAttributeWithTemplateAsObjectForDeprecations () | |
legacy Calling "string" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. More... | |
testRenderBlockWithUndefinedBlock () | |
legacy Silent display of undefined block "unknown" in template "index.twig" is deprecated since version 1.29 and will throw an exception in 2.0. More... | |
testGetAttributeOnArrayWithConfusableKey () | |
testGetAttribute ($defined, $value, $object, $item, $arguments, $type) | |
getGetAttributeTests More... | |
testGetAttributeStrict ($defined, $value, $object, $item, $arguments, $type, $exceptionMessage=null) | |
getGetAttributeTests More... | |
testGetAttributeDefined ($defined, $value, $object, $item, $arguments, $type) | |
getGetAttributeTests More... | |
testGetAttributeDefinedStrict ($defined, $value, $object, $item, $arguments, $type) | |
getGetAttributeTests More... | |
testGetAttributeCallExceptions () | |
getGetAttributeTests () | |
testGetIsMethods () | |
Twig_Error_Runtime More... | |
Definition at line 11 of file TemplateTest.php.
Twig_Tests_TemplateTest::getAttributeExceptions | ( | ) |
Definition at line 49 of file TemplateTest.php.
Twig_Tests_TemplateTest::getGetAttributeTests | ( | ) |
Definition at line 304 of file TemplateTest.php.
References $test, $tests, Twig_TemplateInterface\ANY_CALL, Twig_TemplateInterface\ARRAY_CALL, and Twig_TemplateInterface\METHOD_CALL.
Twig_Tests_TemplateTest::getGetAttributeWithSandbox | ( | ) |
Definition at line 101 of file TemplateTest.php.
Twig_Tests_TemplateTest::testDisplayBlocksAcceptTemplateOnlyAsBlocks | ( | ) |
Twig_Tests_TemplateTest::testGetAttribute | ( | $defined, | |
$value, | |||
$object, | |||
$item, | |||
$arguments, | |||
$type | |||
) |
getGetAttributeTests
Definition at line 246 of file TemplateTest.php.
References $template, and $type.
Twig_Tests_TemplateTest::testGetAttributeCallExceptions | ( | ) |
Definition at line 295 of file TemplateTest.php.
References $template.
Twig_Tests_TemplateTest::testGetAttributeDefined | ( | $defined, | |
$value, | |||
$object, | |||
$item, | |||
$arguments, | |||
$type | |||
) |
getGetAttributeTests
Definition at line 278 of file TemplateTest.php.
References $template, and $type.
Twig_Tests_TemplateTest::testGetAttributeDefinedStrict | ( | $defined, | |
$value, | |||
$object, | |||
$item, | |||
$arguments, | |||
$type | |||
) |
getGetAttributeTests
Definition at line 288 of file TemplateTest.php.
References $template, and $type.
Twig_Tests_TemplateTest::testGetAttributeExceptions | ( | $template, | |
$message | |||
) |
getAttributeExceptions
Definition at line 25 of file TemplateTest.php.
References $context, $env, $message, and $template.
Twig_Tests_TemplateTest::testGetAttributeOnArrayWithConfusableKey | ( | ) |
Definition at line 218 of file TemplateTest.php.
References $template.
Twig_Tests_TemplateTest::testGetAttributeStrict | ( | $defined, | |
$value, | |||
$object, | |||
$item, | |||
$arguments, | |||
$type, | |||
$exceptionMessage = null |
|||
) |
getGetAttributeTests
Definition at line 256 of file TemplateTest.php.
References $template, and $type.
Twig_Tests_TemplateTest::testGetAttributeWithSandbox | ( | $object, | |
$item, | |||
$allowed | |||
) |
getGetAttributeWithSandbox
Definition at line 75 of file TemplateTest.php.
References $template.
Twig_Tests_TemplateTest::testGetAttributeWithTemplateAsObject | ( | ) |
legacy
Definition at line 114 of file TemplateTest.php.
References $template, Twig_TemplateInterface\ANY_CALL, and Twig_TemplateInterface\METHOD_CALL.
Twig_Tests_TemplateTest::testGetAttributeWithTemplateAsObjectForDeprecations | ( | ) |
legacy Calling "string" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0.
Calling "string" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "true" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "true" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "zero" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "zero" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "empty" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "empty" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Calling "renderBlock" on template "index.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use block("name") instead). Calling "displayBlock" on template "index.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use block("name") instead). Calling "hasBlock" on template "index.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use "block("name") is defined" instead). Calling "render" on template "index.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use include("index.twig") instead). Calling "display" on template "index.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use include("index.twig") instead). Calling "renderBlock" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use block("name", template) instead). Calling "displayBlock" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use block("name", template) instead). Calling "hasBlock" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use "block("name", template) is defined" instead). Calling "render" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use include("index1.twig") instead). Calling "display" on template "index1.twig" from template "index.twig" is deprecated since version 1.28 and won't be supported anymore in 2.0. Use include("index1.twig") instead).
Definition at line 162 of file TemplateTest.php.
References $template, Twig_TemplateInterface\ANY_CALL, and Twig_TemplateInterface\METHOD_CALL.
Twig_Tests_TemplateTest::testGetIsMethods | ( | ) |
Definition at line 432 of file TemplateTest.php.
References $template.
Twig_Tests_TemplateTest::testRenderBlockWithUndefinedBlock | ( | ) |
legacy Silent display of undefined block "unknown" in template "index.twig" is deprecated since version 1.29 and will throw an exception in 2.0.
Use the "block('unknown') is defined" expression to test for block existence. Silent display of undefined block "unknown" in template "index.twig" is deprecated since version 1.29 and will throw an exception in 2.0. Use the "block('unknown') is defined" expression to test for block existence.
Definition at line 209 of file TemplateTest.php.
References $template.