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 ()
 Returns a list of global variables to add to the existing list. More...
 
- 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 ()
 

Detailed Description

Definition at line 524 of file EnvironmentTest.php.

Member Function Documentation

◆ getGlobals()

Twig_Tests_EnvironmentTest_Extension_WithGlobals::getGlobals ( )

Returns a list of global variables to add to the existing list.

Returns
array An array of global variables
Deprecated:
since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead

Implements Twig_ExtensionInterface.

Definition at line 526 of file EnvironmentTest.php.

References array.

529 {
530  public function getGlobals()
531  {
getGlobals()
Returns a list of global variables to add to the existing list.

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