\App\Presenters\AdminMenuPresenter

Summary

Methods
Properties
Constants
__construct()
sidebarMenuList()
menuOrderList()
No public properties found
No constants found
No protected methods found
$model_menu
N/A
No private methods found
$open
$active
$layer
$parent_key
N/A

Properties

$model_menu

$model_menu : 

Type

$open

$open : 

Type

$active

$active : 

Type

$layer

$layer : 

Type

$parent_key

$parent_key : 

Type

Methods

sidebarMenuList()

sidebarMenuList(array  $sidebarMenus, integer  $parent_key = -1) : string

后台左侧菜单,显示激活状态

Parameters

array $sidebarMenus

菜单

integer $parent_key

菜单

Returns

string

menuOrderList()

menuOrderList(array  $menus) : string

菜单排序列表html

Parameters

array $menus

Returns

string