PHP Class wsl\rbac\modules\admin\controllers\MenuController

Inheritance: extends wsl\rbac\base\Controller
Mostra file Open project: myweishanli/yii2-extjs-rbac

Public Properties

Property Type Description
$format

Public Methods

Method Description
actionAll ( string $sort = '' ) : array 所有列表
actionDel ( ) : array 删除(设置一个删除的标识)
actionDrop ( ) : array 菜单拖放更改排序
actionSave ( ) : array 保存数据
actionTree ( string $sort = '' ) : array 树形菜单数据
actionUpdateStatus ( ) : array 更新状态
beforeAction ( $action )

Method Details

actionAll() public method

所有列表
public actionAll ( string $sort = '' ) : array
$sort string 排序
return array

actionDel() public method

删除(设置一个删除的标识)
public actionDel ( ) : array
return array

actionDrop() public method

菜单拖放更改排序
public actionDrop ( ) : array
return array

actionSave() public method

保存数据
public actionSave ( ) : array
return array

actionTree() public static method

树形菜单数据
public static actionTree ( string $sort = '' ) : array
$sort string 排序字段
return array

actionUpdateStatus() public method

更新状态
public actionUpdateStatus ( ) : array
return array

beforeAction() public method

public beforeAction ( $action )

Property Details

$format public_oe property

public $format