ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_Tests_EnvironmentTest_Extension Class Reference
+ Inheritance diagram for Twig_Tests_EnvironmentTest_Extension:
+ Collaboration diagram for Twig_Tests_EnvironmentTest_Extension:

Public Member Functions

 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...
 
- 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 534 of file EnvironmentTest.php.

Member Function Documentation

◆ getFilters()

Twig_Tests_EnvironmentTest_Extension::getFilters ( )

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

Returns
Twig_SimpleFilter[]

Implements Twig_ExtensionInterface.

Definition at line 550 of file EnvironmentTest.php.

555  {

◆ getFunctions()

Twig_Tests_EnvironmentTest_Extension::getFunctions ( )

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

Returns
Twig_SimpleFunction[]

Implements Twig_ExtensionInterface.

Definition at line 564 of file EnvironmentTest.php.

569  {

◆ getGlobals()

Twig_Tests_EnvironmentTest_Extension::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 579 of file EnvironmentTest.php.

584  {

◆ getNodeVisitors()

Twig_Tests_EnvironmentTest_Extension::getNodeVisitors ( )

Returns the node visitor instances to add to the existing list.

Returns
Twig_NodeVisitorInterface[]

Implements Twig_ExtensionInterface.

Definition at line 543 of file EnvironmentTest.php.

548  {

◆ getOperators()

Twig_Tests_EnvironmentTest_Extension::getOperators ( )

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

Returns
array<array> First array of unary operators, second array of binary operators

Implements Twig_ExtensionInterface.

Definition at line 571 of file EnvironmentTest.php.

576  {
577  return array(

◆ getTests()

Twig_Tests_EnvironmentTest_Extension::getTests ( )

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

Returns
Twig_SimpleTest[]

Implements Twig_ExtensionInterface.

Definition at line 557 of file EnvironmentTest.php.

562  {

◆ getTokenParsers()

Twig_Tests_EnvironmentTest_Extension::getTokenParsers ( )

Returns the token parser instances to add to the existing list.

Returns
Twig_TokenParserInterface[]

Implements Twig_ExtensionInterface.

Definition at line 536 of file EnvironmentTest.php.

539 {
540  public function getTokenParsers()
541  {
getTokenParsers()
Returns the token parser instances to add to the existing list.

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