Class humhub\widgets\TopMenuRightStack

Inheritancehumhub\widgets\TopMenuRightStack » humhub\widgets\BaseStack » humhub\components\Widget » yii\base\Widget
Available since version0.6

TopMenuRightStackWidget holds items like search (right part)

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addWidget() Adds a new widget humhub\widgets\BaseStack
getLayoutViewParams() Returns an array of view parameter used if \humhub\components\layout is set. humhub\components\Widget
init() Initializes the sidebar widget. humhub\widgets\BaseStack
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\TopMenuRightStack
widget() Creates a widget instance and runs it. humhub\components\Widget

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getWidgets() Returns all widgets by sortorder humhub\widgets\BaseStack


Hide inherited events

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


Hide inherited constants

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

Method Details

run() public method

Runs the Navigation

public void run ( )