PHP 인터페이스 Sulu\Bundle\WebsiteBundle\Twig\Navigation\NavigationTwigExtensionInterface

상속: extends Twig_ExtensionInterface
파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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[]