abstract class Twig_Extension in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Extension.php \Twig_Extension
Hierarchy
- class \Twig_Extension implements Twig_ExtensionInterface
Expanded class hierarchy of Twig_Extension
2 string references to 'Twig_Extension'
- Twig_Environment::initGlobals in vendor/
Twig/ Environment.php - Twig_Environment::initRuntime in vendor/
Twig/ Environment.php - Initializes the runtime environment.
File
- vendor/
Twig/ Extension.php, line 11
View source
abstract class Twig_Extension implements Twig_ExtensionInterface {
/**
* {@inheritdoc}
*
* @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead
*/
public function initRuntime(Twig_Environment $environment) {
}
/**
* {@inheritdoc}
*/
public function getTokenParsers() {
return array();
}
/**
* {@inheritdoc}
*/
public function getNodeVisitors() {
return array();
}
/**
* {@inheritdoc}
*/
public function getFilters() {
return array();
}
/**
* {@inheritdoc}
*/
public function getTests() {
return array();
}
/**
* {@inheritdoc}
*/
public function getFunctions() {
return array();
}
/**
* {@inheritdoc}
*/
public function getOperators() {
return array();
}
/**
* {@inheritdoc}
*
* @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead
*/
public function getGlobals() {
return array();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Extension:: |
public | function |
Returns a list of filters to add to the existing list. Overrides Twig_ExtensionInterface:: |
3 |
Twig_Extension:: |
public | function |
Returns a list of functions to add to the existing list. Overrides Twig_ExtensionInterface:: |
4 |
Twig_Extension:: |
public | function |
Overrides Twig_ExtensionInterface:: |
1 |
Twig_Extension:: |
public | function |
Returns the node visitor instances to add to the existing list. Overrides Twig_ExtensionInterface:: |
5 |
Twig_Extension:: |
public | function |
Returns a list of operators to add to the existing list. Overrides Twig_ExtensionInterface:: |
1 |
Twig_Extension:: |
public | function |
Returns a list of tests to add to the existing list. Overrides Twig_ExtensionInterface:: |
2 |
Twig_Extension:: |
public | function |
Returns the token parser instances to add to the existing list. Overrides Twig_ExtensionInterface:: |
4 |
Twig_Extension:: |
public | function |
Overrides Twig_ExtensionInterface:: |
|
Twig_ExtensionInterface:: |
public | function | Returns the name of the extension. | 8 |