ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_Tests_EnvironmentTest_ExtensionWithoutRuntime Class Reference
+ Inheritance diagram for Twig_Tests_EnvironmentTest_ExtensionWithoutRuntime:
+ Collaboration diagram for Twig_Tests_EnvironmentTest_ExtensionWithoutRuntime:

Public Member Functions

 getFunctions ()
 Returns a list of functions to add to the existing list. More...
 
 getName ()
 
- Public Member Functions inherited from Twig_Extension
 initRuntime (Twig_Environment $environment)
 
 getTokenParsers ()
 Returns the token parser instances to add to the existing list. More...
 
 getNodeVisitors ()
 Returns the node visitor instances to add to the existing list. More...
 
 getFilters ()
 Returns a list of filters to add to the existing list. More...
 
 getTests ()
 Returns a list of tests to add to the existing list. More...
 
 getFunctions ()
 Returns a list of functions to add to the existing list. More...
 
 getOperators ()
 Returns a list of operators to add to the existing list. More...
 
 getGlobals ()
 
 getName ()
 
 initRuntime (Twig_Environment $environment)
 Initializes the runtime environment. More...
 
 getTokenParsers ()
 Returns the token parser instances to add to the existing list. More...
 
 getNodeVisitors ()
 Returns the node visitor instances to add to the existing list. More...
 
 getFilters ()
 Returns a list of filters to add to the existing list. More...
 
 getTests ()
 Returns a list of tests to add to the existing list. More...
 
 getFunctions ()
 Returns a list of functions to add to the existing list. More...
 
 getOperators ()
 Returns a list of operators to add to the existing list. More...
 
 getGlobals ()
 Returns a list of global variables to add to the existing list. More...
 
 getName ()
 Returns the name of the extension. More...
 

Detailed Description

Definition at line 659 of file EnvironmentTest.php.

Member Function Documentation

◆ getFunctions()

Twig_Tests_EnvironmentTest_ExtensionWithoutRuntime::getFunctions ( )

Returns a list of functions to add to the existing list.

Returns
Twig_SimpleFunction[]

Reimplemented from Twig_Extension.

Definition at line 661 of file EnvironmentTest.php.

662 {
663 return array(
664 new Twig_SimpleFunction('from_runtime_array', array('Twig_Tests_EnvironmentTest_Runtime', 'fromRuntime')),
665 new Twig_SimpleFunction('from_runtime_string', 'Twig_Tests_EnvironmentTest_Runtime::fromRuntime'),
666 );
667 }
Represents a template function.

◆ getName()

Twig_Tests_EnvironmentTest_ExtensionWithoutRuntime::getName ( )
Deprecated:
since 1.26 (to be removed in 2.0), not used anymore internally

Reimplemented from Twig_Extension.

Definition at line 669 of file EnvironmentTest.php.

670 {
671 return 'from_runtime';
672 }

The documentation for this class was generated from the following file: