ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
testGetArguments () | |
testGetArgumentsWhenPositionalArgumentsAfterNamedArguments () | |
Twig_Error_Syntax Positional arguments cannot be used after named arguments for function "date". More... | |
testGetArgumentsWhenArgumentIsDefinedTwice () | |
Twig_Error_Syntax Argument "format" is defined twice for function "date". More... | |
testGetArgumentsWithWrongNamedArgumentName () | |
Twig_Error_Syntax Unknown argument "unknown" for function "date(format, timestamp)". More... | |
testGetArgumentsWithWrongNamedArgumentNames () | |
Twig_Error_Syntax Unknown arguments "unknown1", "unknown2" for function "date(format, timestamp)". More... | |
testResolveArgumentsWithMissingValueForOptionalArgument () | |
Twig_Error_Syntax Argument "case_sensitivity" could not be assigned for function "substr_compare(main_str, str, offset, length, case_sensitivity)" because it is mapped to an internal PHP function which cannot determine default value for optional argument "length". More... | |
testResolveArgumentsOnlyNecessaryArgumentsForCustomFunction () | |
testGetArgumentsForStaticMethod () | |
testResolveArgumentsWithMissingParameterForArbitraryArguments () | |
LogicException The last parameter of "Twig_Tests_Node_Expression_CallTest::customFunctionWithArbitraryArguments" for function "foo" must be an array with default value, eg. More... | |
customFunction ($arg1, $arg2='default', $arg3=array()) | |
customFunctionWithArbitraryArguments () | |
testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnFunction () | |
LogicException #^The last parameter of "custom_Twig_Tests_Node_Expression_CallTest_function" for function "foo" must be an array with default value, eg. More... | |
testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnObject () | |
LogicException #^The last parameter of "CallableTestClass\:\:__invoke" for function "foo" must be an array with default value, eg. More... | |
Static Public Member Functions | |
static | customStaticFunction ($arg1, $arg2='default', $arg3=array()) |
Definition at line 12 of file CallTest.php.
Twig_Tests_Node_Expression_CallTest::customFunction | ( | $arg1, | |
$arg2 = 'default' , |
|||
$arg3 = array() |
|||
) |
Definition at line 97 of file CallTest.php.
Twig_Tests_Node_Expression_CallTest::customFunctionWithArbitraryArguments | ( | ) |
Definition at line 101 of file CallTest.php.
|
static |
Definition at line 93 of file CallTest.php.
Twig_Tests_Node_Expression_CallTest::testGetArguments | ( | ) |
Definition at line 14 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testGetArgumentsForStaticMethod | ( | ) |
Definition at line 77 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testGetArgumentsWhenArgumentIsDefinedTwice | ( | ) |
Twig_Error_Syntax Argument "format" is defined twice for function "date".
Definition at line 34 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testGetArgumentsWhenPositionalArgumentsAfterNamedArguments | ( | ) |
Twig_Error_Syntax Positional arguments cannot be used after named arguments for function "date".
Definition at line 24 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testGetArgumentsWithWrongNamedArgumentName | ( | ) |
Twig_Error_Syntax Unknown argument "unknown" for function "date(format, timestamp)".
Definition at line 44 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testGetArgumentsWithWrongNamedArgumentNames | ( | ) |
Twig_Error_Syntax Unknown arguments "unknown1", "unknown2" for function "date(format, timestamp)".
Definition at line 54 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testResolveArgumentsOnlyNecessaryArgumentsForCustomFunction | ( | ) |
Definition at line 70 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testResolveArgumentsWithMissingParameterForArbitraryArguments | ( | ) |
LogicException The last parameter of "Twig_Tests_Node_Expression_CallTest::customFunctionWithArbitraryArguments" for function "foo" must be an array with default value, eg.
"array $arg = array()".
Definition at line 87 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnFunction | ( | ) |
LogicException #^The last parameter of "custom_Twig_Tests_Node_Expression_CallTest_function" for function "foo" must be an array with default value, eg.
"array \$arg \= array\(\)".$#
Definition at line 109 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnObject | ( | ) |
LogicException #^The last parameter of "CallableTestClass\:\:__invoke" for function "foo" must be an array with default value, eg.
"array \$arg \= array\(\)".$#
Definition at line 119 of file CallTest.php.
References array.
Twig_Tests_Node_Expression_CallTest::testResolveArgumentsWithMissingValueForOptionalArgument | ( | ) |
Twig_Error_Syntax Argument "case_sensitivity" could not be assigned for function "substr_compare(main_str, str, offset, length, case_sensitivity)" because it is mapped to an internal PHP function which cannot determine default value for optional argument "length".
Definition at line 64 of file CallTest.php.
References array.