ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a template function. More...
Public Member Functions | |
__construct ($name, $callable, array $options=array()) | |
getName () | |
getCallable () | |
getNodeClass () | |
setArguments ($arguments) | |
getArguments () | |
needsEnvironment () | |
needsContext () | |
getSafe (Twig_Node $functionArgs) | |
isVariadic () | |
isDeprecated () | |
getDeprecatedVersion () | |
getAlternative () | |
Protected Attributes | |
$name | |
$callable | |
$options | |
$arguments = array() | |
Twig_SimpleFunction::__construct | ( | $name, | |
$callable, | |||
array | $options = array() |
||
) |
Definition at line 26 of file SimpleFunction.php.
Twig_SimpleFunction::getAlternative | ( | ) |
Definition at line 105 of file SimpleFunction.php.
Twig_SimpleFunction::getArguments | ( | ) |
Twig_SimpleFunction::getCallable | ( | ) |
Definition at line 47 of file SimpleFunction.php.
References $callable.
Twig_SimpleFunction::getDeprecatedVersion | ( | ) |
Definition at line 100 of file SimpleFunction.php.
Twig_SimpleFunction::getName | ( | ) |
Definition at line 42 of file SimpleFunction.php.
References $name.
Twig_SimpleFunction::getNodeClass | ( | ) |
Definition at line 52 of file SimpleFunction.php.
Twig_SimpleFunction::getSafe | ( | Twig_Node | $functionArgs | ) |
Definition at line 77 of file SimpleFunction.php.
Twig_SimpleFunction::isDeprecated | ( | ) |
Definition at line 95 of file SimpleFunction.php.
Twig_SimpleFunction::isVariadic | ( | ) |
Definition at line 90 of file SimpleFunction.php.
Twig_SimpleFunction::needsContext | ( | ) |
Definition at line 72 of file SimpleFunction.php.
Twig_SimpleFunction::needsEnvironment | ( | ) |
Definition at line 67 of file SimpleFunction.php.
Twig_SimpleFunction::setArguments | ( | $arguments | ) |
Definition at line 57 of file SimpleFunction.php.
References $arguments.
|
protected |
Definition at line 24 of file SimpleFunction.php.
Referenced by getArguments(), and setArguments().
|
protected |
Definition at line 22 of file SimpleFunction.php.
Referenced by __construct(), and getCallable().
|
protected |
Definition at line 21 of file SimpleFunction.php.
Referenced by __construct(), and getName().
|
protected |
Definition at line 23 of file SimpleFunction.php.
Referenced by __construct().