phpBB API Documentation
Class

phpbb\template\twig\node\includecss

class includecss extends includeasset

Methods

__construct(Twig_Node_Expression $expr, environment $environment, $lineno, $tag = null)

from includeasset
compile(Twig_Compiler $compiler)

Compiles the node to PHP.

from includeasset
string get_setters_name()

Get the name of the assets bag setter

Details

in includeasset at line 21
public __construct(Twig_Node_Expression $expr, environment $environment, $lineno, $tag = null)

Parameters

Twig_Node_Expression $expr
environment $environment
$lineno
$tag

in includeasset at line 32
public compile(Twig_Compiler $compiler)

Compiles the node to PHP.

Parameters

Twig_Compiler $compiler A Twig_Compiler instance

at line 21
public string get_setters_name()

Get the name of the assets bag setter

Return Value

string (e.g. 'script')