Class humhub\modules\user\widgets\AccountProfileMenu

Inheritancehumhub\modules\user\widgets\AccountProfileMenu » humhub\modules\ui\menu\widgets\TabMenu » humhub\modules\ui\menu\widgets\Menu » humhub\widgets\JsWidget » humhub\components\Widget » yii\base\Widget

Account Settings Tab Menu

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$entries humhub\modules\ui\menu\MenuEntry[] The menu entries humhub\modules\ui\menu\widgets\Menu

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addEntry() Add new menu entry to the navigation humhub\modules\ui\menu\widgets\Menu
addItem() humhub\modules\ui\menu\widgets\Menu
addItemGroup() humhub\modules\ui\menu\widgets\Menu
deleteItemByUrl() humhub\modules\ui\menu\widgets\Menu
getActive() humhub\modules\ui\menu\widgets\Menu
getActiveEntry() Returns the first active menu entry humhub\modules\ui\menu\widgets\Menu
getAttributes() Returns all html attributes for used by this widget and will normally inserted in the widgets root html element. humhub\modules\ui\menu\widgets\TabMenu
getData() Returns an array of data-* attributes to configure your clientside js widget. humhub\modules\ui\menu\widgets\Menu
getEntries() Returns all entries filtered by $type. If no $type filter is given all entries are returned. humhub\modules\ui\menu\widgets\Menu
getEntryById() Returns the first entry with the given id humhub\modules\ui\menu\widgets\Menu
getEntryByUrl() Returns the first entry with the given URL humhub\modules\ui\menu\widgets\Menu
getFirstEntry() humhub\modules\ui\menu\widgets\Menu
getId() Returns the html id of this widget, if no id is set this function will generate an id if $autoGenerate is set to true (default). humhub\widgets\JsWidget
getItemGroups() humhub\modules\ui\menu\widgets\Menu
getItems() humhub\modules\ui\menu\widgets\Menu
getLayoutViewParams() Returns an array of view parameter used if \humhub\components\layout is set. humhub\components\Widget
getSortedEntries() Sorts the entry list by sortOrder and returns the sorted entry list. humhub\modules\ui\menu\widgets\Menu
hasMultipleEntries() Checks if this menu contains multiple entries of the given $type, or at all if no $type filter is given. humhub\modules\ui\menu\widgets\Menu
init() humhub\modules\user\widgets\AccountProfileMenu
markAsActive() This function provides static menu entry activation, by entry id or url. humhub\modules\ui\menu\widgets\Menu
markAsInactive() This function provides static menu entry inactivation, by entry id or url. humhub\modules\ui\menu\widgets\Menu
process() Process is a wrapper for the run method humhub\components\Widget
removeEntry() Removes the entry from the navigation humhub\modules\ui\menu\widgets\Menu
render() humhub\modules\ui\menu\widgets\TabMenu
run() Executes the navigation widget. humhub\modules\ui\menu\widgets\Menu
setActive() Activates an entry by given id or url search string. humhub\modules\ui\menu\widgets\Menu
setDefaultOptions() Sets some default data options required by all widgets as the widget implementation and the widget events and initialization trigger. humhub\widgets\JsWidget
setEntryActive() Sets an menu entry active and inactive all other entries humhub\modules\ui\menu\widgets\Menu
setInactive() humhub\modules\ui\menu\widgets\Menu
setViewState() humhub\modules\ui\menu\widgets\Menu
widget() Creates a widget instance and runs it. humhub\components\Widget

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
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


Hide inherited events

EventTypeDescriptionDefined 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

Method Details

init() public method

public void init ( )