SnowboardNode
Represents a "snowboard" node
class Cms\Twig\SnowboardNode
extends Twig\Node\Node
Extends
| Class | Description |
|---|---|
Twig\Node\Node
|
Properties
public
static
$baseLoaded
:
bool
= false
Indicates if the base Snowboard framework is already loaded, in case of multiple uses of this tag.
Methods
public
__construct (array $modules, $lineno, string $tag = "snowboard")
Parameters
| Property | Type | Description |
|---|---|---|
| $modules | array |
array
|
| $lineno | mixed |
mixed
|
| $tag | string |
string
|
Returns
mixed
public compile (Twig\Compiler $compiler)
Compiles the node to PHP.
Parameters
| Property | Type | Description |
|---|---|---|
| $compiler | Twig\Compiler |
Twig\Compiler
A TwigCompiler instance |
Returns
mixed
Copyright © 2025 Winter CMS