|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a template function. More...
Inheritance diagram for Twig_Function:
Collaboration diagram for Twig_Function:Public Member Functions | |
| __construct (array $options=array()) | |
| setArguments ($arguments) | |
| getArguments () | |
| needsEnvironment () | |
| needsContext () | |
| getSafe (Twig_Node $functionArgs) | |
| getCallable () | |
Public Member Functions inherited from Twig_FunctionInterface | |
| compile () | |
| Compiles a function. More... | |
| needsEnvironment () | |
| needsContext () | |
| getSafe (Twig_Node $filterArgs) | |
| setArguments ($arguments) | |
| getArguments () | |
| getCallable () | |
Protected Attributes | |
| $options | |
| $arguments = array() | |
Represents a template function.
Use Twig_SimpleFunction instead.
Definition at line 23 of file Function.php.
| Twig_Function::__construct | ( | array | $options = array() | ) |
Definition at line 28 of file Function.php.
References $options.
| Twig_Function::getArguments | ( | ) |
Implements Twig_FunctionInterface.
Definition at line 42 of file Function.php.
References $arguments.
| Twig_Function::getCallable | ( | ) |
Implements Twig_FunctionCallableInterface.
Definition at line 70 of file Function.php.
| Twig_Function::getSafe | ( | Twig_Node | $functionArgs | ) |
Implements Twig_FunctionInterface.
Definition at line 57 of file Function.php.
| Twig_Function::needsContext | ( | ) |
Implements Twig_FunctionInterface.
Definition at line 52 of file Function.php.
| Twig_Function::needsEnvironment | ( | ) |
Implements Twig_FunctionInterface.
Definition at line 47 of file Function.php.
| Twig_Function::setArguments | ( | $arguments | ) |
Implements Twig_FunctionInterface.
Definition at line 37 of file Function.php.
References $arguments.
|
protected |
Definition at line 26 of file Function.php.
Referenced by getArguments(), and setArguments().
|
protected |
Definition at line 25 of file Function.php.
Referenced by Twig_Function_Node\__construct(), Twig_Function_Function\__construct(), __construct(), and Twig_Function_Method\__construct().