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

Public Member Functions

 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 12 of file Extension.php.

Member Function Documentation

◆ getFilters()

Twig_Extension::getFilters ( )

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

Returns
Twig_SimpleFilter[]

Implements Twig_ExtensionInterface.

Definition at line 31 of file Extension.php.

References array.

32  {
33  return array();
34  }
Create styles array
The data for the language used.

◆ getFunctions()

Twig_Extension::getFunctions ( )

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

Returns
Twig_SimpleFunction[]

Implements Twig_ExtensionInterface.

Definition at line 41 of file Extension.php.

References array.

42  {
43  return array();
44  }
Create styles array
The data for the language used.

◆ getGlobals()

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

Implements Twig_ExtensionInterface.

Definition at line 54 of file Extension.php.

References array.

55  {
56  return array();
57  }
Create styles array
The data for the language used.

◆ getName()

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

Implements Twig_ExtensionInterface.

Definition at line 62 of file Extension.php.

63  {
64  return get_class($this);
65  }

◆ getNodeVisitors()

Twig_Extension::getNodeVisitors ( )

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

Returns
Twig_NodeVisitorInterface[]

Implements Twig_ExtensionInterface.

Definition at line 26 of file Extension.php.

References array.

27  {
28  return array();
29  }
Create styles array
The data for the language used.

◆ getOperators()

Twig_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 46 of file Extension.php.

References array.

47  {
48  return array();
49  }
Create styles array
The data for the language used.

◆ getTests()

Twig_Extension::getTests ( )

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

Returns
Twig_SimpleTest[]

Implements Twig_ExtensionInterface.

Definition at line 36 of file Extension.php.

References array.

37  {
38  return array();
39  }
Create styles array
The data for the language used.

◆ getTokenParsers()

Twig_Extension::getTokenParsers ( )

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

Returns
Twig_TokenParserInterface[]

Implements Twig_ExtensionInterface.

Definition at line 21 of file Extension.php.

References array.

22  {
23  return array();
24  }
Create styles array
The data for the language used.

◆ initRuntime()

Twig_Extension::initRuntime ( Twig_Environment  $environment)
Deprecated:
since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead

Implements Twig_ExtensionInterface.

Definition at line 17 of file Extension.php.

18  {
19  }

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