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

Public Member Functions

 getGlobals ()
 
- 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 528 of file EnvironmentTest.php.

Member Function Documentation

◆ getGlobals()

Twig_Tests_EnvironmentTest_Extension_WithGlobals::getGlobals ( )
Deprecated:
since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead

Reimplemented from Twig_Extension.

Definition at line 530 of file EnvironmentTest.php.

531 {
532 return array(
533 'foo_global' => 'foo_global',
534 );
535 }

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