abstract class Twig_Extension in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/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/ twig/ lib/ Twig/ Environment.php - Twig_Environment::initRuntime in vendor/
twig/ twig/ lib/ Twig/ Environment.php - Initializes the runtime environment.
File
- vendor/
twig/ twig/ lib/ 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:: |
|
Twig_Extension:: |
public | function |
Returns a list of functions to add to the existing list. Overrides Twig_ExtensionInterface:: |
|
Twig_Extension:: |
public | function |
Overrides Twig_ExtensionInterface:: |
|
Twig_Extension:: |
public | function |
Returns the node visitor instances to add to the existing list. Overrides Twig_ExtensionInterface:: |
|
Twig_Extension:: |
public | function |
Returns a list of operators to add to the existing list. Overrides Twig_ExtensionInterface:: |
|
Twig_Extension:: |
public | function |
Returns a list of tests to add to the existing list. Overrides Twig_ExtensionInterface:: |
|
Twig_Extension:: |
public | function |
Returns the token parser instances to add to the existing list. Overrides Twig_ExtensionInterface:: |
|
Twig_Extension:: |
public | function |
Overrides Twig_ExtensionInterface:: |
|
Twig_ExtensionInterface:: |
public | function | Returns the name of the extension. |