Class humhub\modules\admin\widgets\AdminMenu
AdminMenu
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$container | string | Html container element. | humhub\widgets\JsWidget |
$content | string | Html content. | humhub\widgets\JsWidget |
$events | [] | humhub\widgets\JsWidget | |
$fadeIn | boolean|string|integer | humhub\widgets\JsWidget | |
$id | humhub\modules\admin\widgets\AdminMenu | ||
$init | mixed | humhub\widgets\JsWidget | |
$jsWidget | string | humhub\widgets\JsWidget | |
$options | humhub\widgets\JsWidget | ||
$panelTitle | string | The title of the panel | humhub\modules\ui\menu\widgets\LeftNavigation |
$render | boolean | If set to false this widget won't be rendered | humhub\components\Widget |
$template | string | Template view file of the navigation | humhub\modules\ui\menu\widgets\LeftNavigation |
$type | humhub\modules\admin\widgets\AdminMenu | ||
$visible | boolean | humhub\widgets\JsWidget | |
$widgetLayout | string | Defines an optional layout | humhub\components\Widget |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$entries | humhub\modules\ui\menu\MenuEntry[] | The menu entries | humhub\modules\ui\menu\widgets\Menu |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
getAttributes() | Returns all html attributes for used by this widget and will normally inserted in the widgets root html element. | humhub\widgets\JsWidget |
getData() | Returns an array of data-* attributes to configure your clientside js widget. | humhub\widgets\JsWidget |
getOptions() | Assembles all widget attributes and data settings of this widget. | humhub\widgets\JsWidget |
getViewParams() | Returns the parameters which are passed to the view template | humhub\modules\ui\menu\widgets\Menu |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_CREATE | humhub\libs\WidgetCreateEvent | An event raised before creating a widget. | humhub\components\Widget |
EVENT_RUN | \humhub\modules\ui\menu\widgets\MenuEvent | An event raised before running the navigation widget. | humhub\modules\ui\menu\widgets\Menu |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
SESSION_CAN_SEE_ADMIN_SECTION | 'user.canSeeAdminSection' | humhub\modules\admin\widgets\AdminMenu |