Nav_Node

Type
Class
Namespace
Craft
Inherits
Craft\Nav_Node » Twig_Node_For
Since
1.2

Represents a nav node.

See also http://craftcms.com

View source

Protected Properties

$navItemNode

Signature

protected Craft\NavItem_Node $navItemNode = null

Public Methods

MethodDescription
__construct()
compile()Compiles the node to PHP.

__construct()

View source

Arguments

  • $keyTarget (\Twig_Node_Expression_AssignName)
  • $valueTarget (\Twig_Node_Expression_AssignName)
  • $seq (\Twig_Node_Expression)
  • $upperBody (\Twig_NodeInterface)
  • $lowerBody (\Twig_NodeInterface)
  • $indent (\Twig_NodeInterface)
  • $outdent (\Twig_NodeInterface)
  • $lineno (null)
  • $tag (null)

Returns

Craft\Nav_Node

Signature

public Craft\Nav_Node __construct ( \Twig_Node_Expression_AssignName $keyTarget, \Twig_Node_Expression_AssignName $valueTarget, \Twig_Node_Expression $seq, \Twig_NodeInterface $upperBody, \Twig_NodeInterface $lowerBody = null, \Twig_NodeInterface $indent = null, \Twig_NodeInterface $outdent = null, $lineno, $tag = null )

compile()

Compiles the node to PHP.

View source

Arguments

  • $compiler (\Twig_Compiler)

Returns

null

Signature

public null compile ( \Twig_Compiler $compiler )