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 (opens new window)

# Public Methods

Method Description
__construct()
compile() Compiles the node to PHP.

# __construct()

View source (opens new window)

Arguments

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

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 (opens new window)

Arguments

  • $compiler (\Twig_Compiler)

Returns

null (opens new window)

Signature

public null compile ( \Twig_Compiler $compiler )