Method | Description | |
---|---|---|
__construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQuery, Sulu\Component\Content\Query\ContentQueryBuilderInterface $queryBuilder, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Symfony\Component\Stopwatch\Stopwatch $stopwatch = null ) | ||
getBreadcrumb ( $uuid, $webspace, $language ) | ||
getNavigation ( $parent, $webspaceKey, $locale, $depth = 1, $flat = false, $context = null, $loadExcerpt = false ) | ||
getRootNavigation ( $webspaceKey, $locale, $depth = 1, $flat = false, $context = null, $loadExcerpt = false ) | ||
inNavigation ( Sulu\Component\Content\Compat\StructureInterface $content, string | null $context = null ) : boolean | checks if content should be displayed. |
Method | Description | |
---|---|---|
generateChildNavigation ( Sulu\Component\Content\Compat\StructureInterface $content, $webspace, $language, $flat = false, $context = null ) | generate child navigation of given content. | |
generateNavigation ( $contents, $webspace, $language, $flat = false, $context = null, $breakOnNotInNavigation = false, $recursive = true ) | generate navigation items for given contents. |
public __construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQuery, Sulu\Component\Content\Query\ContentQueryBuilderInterface $queryBuilder, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Symfony\Component\Stopwatch\Stopwatch $stopwatch = null ) | ||
$contentMapper | Sulu\Component\Content\Mapper\ContentMapperInterface | |
$contentQuery | Sulu\Component\Content\Query\ContentQueryExecutorInterface | |
$queryBuilder | Sulu\Component\Content\Query\ContentQueryBuilderInterface | |
$sessionManager | Sulu\Component\PHPCR\SessionManager\SessionManagerInterface | |
$stopwatch | Symfony\Component\Stopwatch\Stopwatch |