Class humhub\modules\space\modules\manage\widgets\MemberMenu

Inheritancehumhub\modules\space\modules\manage\widgets\MemberMenu » humhub\widgets\BaseMenu » yii\base\Widget

MemberMenu is a tabbed menu for space member administration

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addItem() Adds new Item to the menu humhub\widgets\BaseMenu
addItemGroup() Adds new Item Group to the menu humhub\widgets\BaseMenu
deleteItemByUrl() Removes Item by URL humhub\widgets\BaseMenu
getActive() humhub\widgets\BaseMenu
getItemGroups() Returns all Item Groups humhub\widgets\BaseMenu
getItems() Returns Items of this Navigation humhub\widgets\BaseMenu
init() Initializes the navigation widget. humhub\modules\space\modules\manage\widgets\MemberMenu
markAsActive() Add the active class from a menue item. humhub\widgets\BaseMenu
markAsInactive() Remove the active class from a menue item. humhub\widgets\BaseMenu
run() Executes the Menu Widget humhub\widgets\BaseMenu
setActive() Activates the menu item with the given url humhub\widgets\BaseMenu
setInactive() humhub\widgets\BaseMenu
setViewState() This function is used in combination with pjax to get sure the required menu is active humhub\widgets\BaseMenu

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
countPendingApprovals() Returns the number of currently pending approvals humhub\modules\space\modules\manage\widgets\MemberMenu
countPendingInvites() Returns the number of currently invited users humhub\modules\space\modules\manage\widgets\MemberMenu

Constants

Hide inherited constants

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

Property Details

$space public property
$template public property

Template file

public string $template '@humhub/widgets/views/tabMenu'

Method Details

countPendingApprovals() protected method

Returns the number of currently pending approvals

protected integer countPendingApprovals ( )
return integer

Currently pending approvals

countPendingInvites() protected method

Returns the number of currently invited users

protected integer countPendingInvites ( )
return integer

Currently invited members

init() public method

Initializes the navigation widget.

This method mainly normalizes the {@link items} property. If this method is overridden, make sure the parent implementation is invoked.

public void init ( )