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

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

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

Метод Описание
breadcrumbFunction ( $uuid ) : NavigationItem[] Returns breadcrumb for given node.
flatNavigationFunction ( string $uuid, string $context = null, integer $depth = 1, boolean $loadExcerpt = false, integer $level = null ) : NavigationItem[] Returns a flat navigation of children from given parent (uuid).
flatRootNavigationFunction ( string $context = null, integer $depth = 1, boolean $loadExcerpt = false ) : NavigationItem[] Returns a flat navigation of first layer.
navigationIsActiveFunction ( string $requestUrl, string $itemUrl ) : NavigationItem[] Returns a boolean value to check if navigation item is active.
treeNavigationFunction ( string $uuid, string $context = null, integer $depth = 1, boolean $loadExcerpt = false, integer $level = null ) : NavigationItem[] Returns a tree navigation of children from given parent (uuid).
treeRootNavigationFunction ( string $context = null, integer $depth = 1, boolean $loadExcerpt = false ) : NavigationItem[] Returns a tree navigation of first layer.

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

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

Returns breadcrumb for given node.
public breadcrumbFunction ( $uuid ) : NavigationItem[]
$uuid
Результат Sulu\Bundle\WebsiteBundle\Navigation\NavigationItem[]

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

Returns a flat navigation of children from given parent (uuid).
public flatNavigationFunction ( string $uuid, string $context = null, integer $depth = 1, boolean $loadExcerpt = false, integer $level = null ) : NavigationItem[]
$uuid string
$context string
$depth integer
$loadExcerpt boolean
$level integer
Результат Sulu\Bundle\WebsiteBundle\Navigation\NavigationItem[]

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

Returns a flat navigation of first layer.
public flatRootNavigationFunction ( string $context = null, integer $depth = 1, boolean $loadExcerpt = false ) : NavigationItem[]
$context string
$depth integer
$loadExcerpt boolean
Результат Sulu\Bundle\WebsiteBundle\Navigation\NavigationItem[]

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

Returns a boolean value to check if navigation item is active.
public navigationIsActiveFunction ( string $requestUrl, string $itemUrl ) : NavigationItem[]
$requestUrl string
$itemUrl string
Результат Sulu\Bundle\WebsiteBundle\Navigation\NavigationItem[]

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

Returns a tree navigation of children from given parent (uuid).
public treeNavigationFunction ( string $uuid, string $context = null, integer $depth = 1, boolean $loadExcerpt = false, integer $level = null ) : NavigationItem[]
$uuid string
$context string
$depth integer
$loadExcerpt boolean
$level integer
Результат Sulu\Bundle\WebsiteBundle\Navigation\NavigationItem[]

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

Returns a tree navigation of first layer.
public treeRootNavigationFunction ( string $context = null, integer $depth = 1, boolean $loadExcerpt = false ) : NavigationItem[]
$context string
$depth integer
$loadExcerpt boolean
Результат Sulu\Bundle\WebsiteBundle\Navigation\NavigationItem[]