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 (opens new window)
# Protected Properties
Property | Description |
---|---|
$navItemNode | Craft\NavItem_Node |
# $navItemNode
Signature
protected Craft\NavItem_Node $navItemNode = null
# Public Methods
Method | Description |
---|---|
__construct() | |
compile() | Compiles the node to PHP. |
# __construct()
View source (opens new window)
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 (opens new window))$tag
(null (opens new window))
Returns
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 (opens new window)
Arguments
$compiler
(\Twig_Compiler
)
Returns
Signature
public null compile ( \Twig_Compiler $compiler )