NavItem_Node

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\NavItem_Node » Twig_Node
Implements
Countable, IteratorAggregate
Since
3.0

Internal node used by the nav node.

View source

Protected Properties

PropertyDescription
$attributes
$lineno
$nodes
$tag

Public Methods

__construct()

NavItem_Node constructor.

View source

Arguments

Signature

public void __construct ( Twig_Node_Expression_AssignName $valueTarget, Twig_Node $indent = null, Twig_Node $outdent = null, Twig_Node $lowerBody = null, $lineno, $tag = null )

compile()

View source

Arguments

  • $compiler

Signature

public void compile ( Twig_Compiler $compiler )