PHP Interface Sulu\Bundle\WebsiteBundle\Navigation\NavigationMapperInterface

Datei anzeigen Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
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.

Method Details

getBreadcrumb() public method

returns a breadcrumb navigation for given content-uuid.
public getBreadcrumb ( string $uuid, string $webspace, string $language ) : NavigationItem[]
$uuid string
$webspace string
$language string
return NavigationItem[]

getNavigation() public method

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
return NavigationItem[]

getRootNavigation() public method

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
return NavigationItem[]