Метод |
Описание |
|
__construct ( string $name, string $uri ) |
Constructor. |
|
add ( MenuEntry $menu ) : MenuEntry |
Add child menu entry. |
|
children ( ) : MenuEntry[] |
Return the menu entry's children. |
|
get ( string $name ) : MenuEntry |
Return a menu entry's named child. |
|
getIcon ( ) : string |
Return the menu entry's icon. |
|
getLabel ( ) : string |
Return the menu entry's label. |
|
getName ( ) : string |
Return the menu entry's internal name. |
|
getPermission ( ) : string |
Return the menu entry's required view permission. |
|
getUri ( ) : string |
Return the menu entry's URI relative to Bolt admin's. |
|
setIcon ( string $icon ) : MenuEntry |
Set the menu entry's icon. |
|
setLabel ( string $label ) : MenuEntry |
Set the menu entry's label. |
|
setParent ( MenuEntry $parent ) : MenuEntry |
Set the menu entry's parent object. |
|
setPermission ( string $permission ) : MenuEntry |
Set the menu entry's required view permission. |
|