PHP 클래스 NestedCollectionAdapter, vanilla

Maintains backwards compatability with the SideMenuModule.
부터: 2.3
저자: Becky Van Bussel ([email protected])
파일 보기 프로젝트 열기: vanilla/vanilla

공개 프로퍼티들

프로퍼티 타입 설명
$siteNavModule

공개 메소드들

메소드 설명
__construct ( $siteNavModule = null )
addItem ( $group, $text, boolean $permission = false, array $attributes = [] )
addLink ( $group, $text, $url, boolean $permission = false, array $attributes = [] )
clearGroups ( )
highlightRoute ( string $route )
removeGroup ( $Group ) Removes an entire group of links, and the group itself, from the menu.
removeLink ( $Group, $Text )
removeLinks ( $Group ) Removes all links from a specific group.

메소드 상세

__construct() 공개 메소드

public __construct ( $siteNavModule = null )

addItem() 공개 메소드

public addItem ( $group, $text, boolean $permission = false, array $attributes = [] )
$group
$text
$permission boolean
$attributes array

clearGroups() 공개 메소드

public clearGroups ( )

highlightRoute() 공개 메소드

public highlightRoute ( string $route )
$route string

removeGroup() 공개 메소드

Removes an entire group of links, and the group itself, from the menu.
public removeGroup ( $Group )

프로퍼티 상세

$siteNavModule 공개적으로 프로퍼티

public $siteNavModule