NavNode

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\NavNode » Twig\Node\ForNode
Since
3.0.0

Represents a nav node.

View source

Protected Properties

Type
craft\web\twig\nodes\NavItem_Node, null

View source

Public Methods

MethodDescription
__construct()NavNode constructor.
compile()

__construct()

NavNode constructor.

View source

Arguments

  • $keyTarget (\Twig\Node\Expression\AssignNameExpression)
  • $valueTarget (\Twig\Node\Expression\AssignNameExpression)
  • $seq (\Twig\Node\Expression\AbstractExpression)
  • $upperBody (\Twig\Node\Node)
  • $lowerBody (\Twig\Node\Node, null)
  • $indent (\Twig\Node\Node, null)
  • $outdent (\Twig\Node\Node, null)
  • $lineno
  • $tag

compile()

View source

Arguments

  • $compiler