NavTokenParser ​
- Type
- Class
- Namespace
- craft\web\twig\tokenparsers
- Inherits
- craft\web\twig\tokenparsers\NavTokenParser »
Twig\TokenParser\AbstractTokenParser
- Since
- 3.0.0
Recursively outputs a hierarchical navigation.
Public Methods ​
Method | Description |
---|---|
decideChildrenEnd() | |
decideChildrenFork() | |
decideNavEnd() | |
decideNavFork() | |
getTag() | |
parse() |
decideChildrenEnd()
​
Arguments ​
$token
(\Twig\Token
)
Returns ​
decideChildrenFork()
​
Arguments ​
$token
(\Twig\Token
)
Returns ​
decideNavEnd()
​
Arguments ​
$token
(\Twig\Token
)
Returns ​
decideNavFork()
​
Arguments ​
$token
(\Twig\Token
)
Returns ​
getTag()
​
parse()
​
Arguments ​
$token