class Twig_Function_Node in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Function/Node.php \Twig_Function_Node
Represents a template function as a node.
Use Twig_SimpleFunction instead.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Twig_Function implements Twig_FunctionCallableInterface, Twig_FunctionInterface
- class \Twig_Function_Node
Expanded class hierarchy of Twig_Function_Node
Deprecated
since 1.12 (to be removed in 2.0)
File
- vendor/
twig/ twig/ lib/ Twig/ Function/ Node.php, line 23
View source
class Twig_Function_Node extends Twig_Function {
protected $class;
public function __construct($class, array $options = array()) {
parent::__construct($options);
$this->class = $class;
}
public function getClass() {
return $this->class;
}
public function compile() {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Function:: |
protected | property | ||
Twig_Function:: |
protected | property | ||
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionCallableInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function_Node:: |
protected | property | ||
Twig_Function_Node:: |
public | function |
Compiles a function. Overrides Twig_FunctionInterface:: |
|
Twig_Function_Node:: |
public | function | ||
Twig_Function_Node:: |
public | function |
Overrides Twig_Function:: |