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.
Protected Properties ​
Property | Description |
---|---|
navItemNode | craft\web\twig\nodes\NavItem_Node, null |
navItemNode
​
- Type
- craft\web\twig\nodes\NavItem_Node, null
- Default value
null
Public Methods ​
Method | Description |
---|---|
__construct() | NavNode constructor. |
compile() |
__construct()
​
NavNode constructor.
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
(mixed
)$tag
(mixed
)
compile()
​
Arguments ​
$compiler