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.

View source (opens new window)

# Public Methods

# decideChildrenEnd()

View source (opens new window)

Arguments

  • $token (\Twig\Token)

Returns

boolean (opens new window)

# decideChildrenFork()

View source (opens new window)

Arguments

  • $token (\Twig\Token)

Returns

boolean (opens new window)

# decideNavEnd()

View source (opens new window)

Arguments

  • $token (\Twig\Token)

Returns

boolean (opens new window)

# decideNavFork()

View source (opens new window)

Arguments

  • $token (\Twig\Token)

Returns

boolean (opens new window)

# getTag()

View source (opens new window)

# parse()

View source (opens new window)

Arguments

  • $token