PHP Class Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtension

Inheritance: extends Twig_Extension, implements Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtensionInterface
Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
__construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Sulu\Bundle\WebsiteBundle\Navigation\NavigationMapperInterface $navigationMapper, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer = null )
breadcrumbFunction ( $uuid )
flatNavigationFunction ( $uuid, $context = null, $depth = 1, $loadExcerpt = false, $level = null )
flatRootNavigationFunction ( $context = null, $depth = 1, $loadExcerpt = false )
getFunctions ( )
getName ( )
navigationIsActiveFunction ( string $requestPath, string $itemPath ) : boolean
treeNavigationFunction ( $uuid, $context = null, $depth = 1, $loadExcerpt = false, $level = null )
treeRootNavigationFunction ( $context = null, $depth = 1, $loadExcerpt = false )

Method Details

__construct() public méthode

public __construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Sulu\Bundle\WebsiteBundle\Navigation\NavigationMapperInterface $navigationMapper, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer = null )
$contentMapper Sulu\Component\Content\Mapper\ContentMapperInterface
$navigationMapper Sulu\Bundle\WebsiteBundle\Navigation\NavigationMapperInterface
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface

breadcrumbFunction() public méthode

public breadcrumbFunction ( $uuid )

flatNavigationFunction() public méthode

public flatNavigationFunction ( $uuid, $context = null, $depth = 1, $loadExcerpt = false, $level = null )

flatRootNavigationFunction() public méthode

public flatRootNavigationFunction ( $context = null, $depth = 1, $loadExcerpt = false )

getFunctions() public méthode

public getFunctions ( )

getName() public méthode

public getName ( )

navigationIsActiveFunction() public méthode

public navigationIsActiveFunction ( string $requestPath, string $itemPath ) : boolean
$requestPath string
$itemPath string
Résultat boolean

treeNavigationFunction() public méthode

public treeNavigationFunction ( $uuid, $context = null, $depth = 1, $loadExcerpt = false, $level = null )

treeRootNavigationFunction() public méthode

public treeRootNavigationFunction ( $context = null, $depth = 1, $loadExcerpt = false )