PHP Класс Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtension

Наследование: extends Twig_Extension, implements Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtensionInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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 breadcrumbFunction ( $uuid )

flatNavigationFunction() публичный Метод

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

flatRootNavigationFunction() публичный Метод

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

getFunctions() публичный Метод

public getFunctions ( )

getName() публичный Метод

public getName ( )

navigationIsActiveFunction() публичный Метод

public navigationIsActiveFunction ( string $requestPath, string $itemPath ) : boolean
$requestPath string
$itemPath string
Результат boolean

treeNavigationFunction() публичный Метод

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

treeRootNavigationFunction() публичный Метод

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