Class yeesoft\widgets\Menu

Inheritanceyeesoft\widgets\Menu » yii\widgets\Menu

Class Menu

Show only those items in navigation menu which user can see If item has no "visible" key, than "visible"=>User::canRoute($item['url') will be added

Public Methods

Hide inherited methods

MethodDescriptionDefined By
init() yeesoft\widgets\Menu

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
ensureVisibility() yeesoft\widgets\Menu

Method Details

ensureVisibility() protected method

protected bool ensureVisibility ( &$items )
$items array
init() public method

public void init ( )