PHP 클래스 Jarves\Navigation

파일 보기 프로젝트 열기: jarves/jarves 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$jarves Jarves

공개 메소드들

메소드 설명
__construct ( Jarves $jarves, Cacher $cacher, PageStack $pageStack ) Navigation constructor.
arrayLevel ( $array, $level )
get ( array $options ) : null | Node
getRendered ( array $options, Twig_Environment $twig ) : string Options:

메소드 상세

__construct() 공개 메소드

Navigation constructor.
public __construct ( Jarves $jarves, Cacher $cacher, PageStack $pageStack )
$jarves Jarves
$cacher Jarves\Cache\Cacher
$pageStack PageStack

arrayLevel() 공개 메소드

public arrayLevel ( $array, $level )

get() 공개 메소드

public get ( array $options ) : null | Node
$options array
리턴 null | Jarves\Model\Node

getRendered() 공개 메소드

whether the template cache is deactivated. Navigation object is still cached boolean noCache = false whether the pathInfo is used in the cacheKey instead of the currentUrl. Useful when you have in your navigation controller calls that are based on pathInfo like pageStack->getCurrentUrlAffix() boolean pathInfoCache = false Example: getRendered(['noCache' => true]);
public getRendered ( array $options, Twig_Environment $twig ) : string
$options array
$twig Twig_Environment
리턴 string

프로퍼티 상세

$jarves 보호되어 있는 프로퍼티

protected Jarves,jarves $jarves
리턴 Jarves