NavItem_Node

Type
Class
Namespace
Craft
Inherits
Craft\NavItem_Node » Twig_Node
Since
1.2

Internal node used by the nav node.

See also http://craftcms.com

View source

Public Methods

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

__construct()

View source

Arguments

  • $valueTarget (\Twig_Node_Expression_AssignName)
  • $indent (\Twig_NodeInterface)
  • $outdent (\Twig_NodeInterface)
  • $lowerBody (\Twig_NodeInterface)
  • $lineno
  • $tag (null)

Returns

Craft\NavItem_Node

Signature

public Craft\NavItem_Node __construct ( \Twig_Node_Expression_AssignName $valueTarget, \Twig_NodeInterface $indent = null, \Twig_NodeInterface $outdent = null, \Twig_NodeInterface $lowerBody = 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 )