PHP Интерфейс Sulu\Bundle\WebsiteBundle\Navigation\NavigationMapperInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getBreadcrumb ( string $uuid, string $webspace, string $language ) : NavigationItem[] returns a breadcrumb navigation for given content-uuid.
getNavigation ( string $parent, $webspaceKey, $locale, integer $depth = 1, boolean $flat = false, string | null $context = null, boolean $loadExcerpt = false ) : NavigationItem[] returns navigation for given parent.
getRootNavigation ( string $webspaceKey, string $locale, integer $depth = 1, boolean $flat = false, string | null $context = null, boolean $loadExcerpt = false ) : NavigationItem[] returns navigation from root.

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

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

returns a breadcrumb navigation for given content-uuid.
public getBreadcrumb ( string $uuid, string $webspace, string $language ) : NavigationItem[]
$uuid string
$webspace string
$language string
Результат NavigationItem[]

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

returns navigation for given parent.
public getNavigation ( string $parent, $webspaceKey, $locale, integer $depth = 1, boolean $flat = false, string | null $context = null, boolean $loadExcerpt = false ) : NavigationItem[]
$parent string uuid of parent node
$webspaceKey
$locale
$depth integer
$flat boolean
$context string | null
$loadExcerpt boolean
Результат NavigationItem[]

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

returns navigation from root.
public getRootNavigation ( string $webspaceKey, string $locale, integer $depth = 1, boolean $flat = false, string | null $context = null, boolean $loadExcerpt = false ) : NavigationItem[]
$webspaceKey string
$locale string
$depth integer
$flat boolean
$context string | null
$loadExcerpt boolean
Результат NavigationItem[]