PHP Класс NestedCollectionAdapter, vanilla

Maintains backwards compatability with the SideMenuModule.
С версии: 2.3
Автор: Becky Van Bussel ([email protected])
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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