PHP 클래스 Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtension

상속: extends Twig_Extension, implements Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtensionInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__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 )