NavNode

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

Represents a nav node.

View source

Protected Properties

$navItemNode

Signature

protected craft\web\twig\nodes\NavItem_Node, null $navItemNode = null

Public Methods

__construct()

NavNode constructor.

View source

Arguments

Signature

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

compile()

View source

Arguments

  • $compiler

Signature

public void compile ( Twig_Compiler $compiler )