Class humhub\widgets\NotificationArea

Inheritancehumhub\widgets\NotificationArea » humhub\widgets\BaseStack » humhub\components\Widget » yii\base\Widget
Available since version0.5

NotificationAddonWidget is used to add items like Notification, Mail, Timer to the main layout

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addWidget() Adds a new widget humhub\widgets\BaseStack
init() Initializes the sidebar widget. humhub\widgets\NotificationArea
process() Process is a wrapper for the run method humhub\components\Widget
removeWidget() Removes a widget from the stack humhub\widgets\BaseStack
run() Runs the Navigation humhub\widgets\BaseStack
widget() Creates a widget instance and runs it. humhub\components\Widget

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
addNotificationOverview() Adds notification overview widget, if not already exists to provide backward compatiblity. humhub\widgets\NotificationArea
getWidgets() Returns all widgets by sortorder humhub\widgets\BaseStack

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_CREATE humhub\libs\WidgetCreateEvent An event raised before creating a widget. humhub\components\Widget

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
EVENT_INIT 'init' humhub\widgets\BaseStack
EVENT_RUN 'run' humhub\widgets\BaseStack

Method Details

addNotificationOverview() protected method

Adds notification overview widget, if not already exists to provide backward compatiblity.

protected void addNotificationOverview ( )
init() public method

Initializes the sidebar widget.

public void init ( )