phpBB API Documentation
Class

phpbb\template\twig\node\definenode

class definenode extends Twig_Node

Methods

__construct($capture, Twig_NodeInterface $name, Twig_NodeInterface $value, $lineno, $tag = null)

compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Details

at line 19
public __construct($capture, Twig_NodeInterface $name, Twig_NodeInterface $value, $lineno, $tag = null)

Parameters

$capture
Twig_NodeInterface $name
Twig_NodeInterface $value
$lineno
$tag

at line 29
public compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Parameters

Twig_Compiler $compiler A Twig_Compiler instance