Class humhub\modules\space\notifications\SpaceMemberNotificationCategory

Inheritancehumhub\modules\space\notifications\SpaceMemberNotificationCategory » humhub\modules\notification\components\NotificationCategory » yii\base\BaseObject

SpaceMemberNotificationCategory

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getDefaultSetting() Returns the default enabled settings for the given $target. humhub\modules\space\notifications\SpaceMemberNotificationCategory
getDescription() Returns a group description humhub\modules\space\notifications\SpaceMemberNotificationCategory
getFixedSettings() Returns an array of target ids, which are not editable. humhub\modules\notification\components\NotificationCategory
getTitle() Returns a human readable title of this category humhub\modules\space\notifications\SpaceMemberNotificationCategory
init() humhub\modules\notification\components\NotificationCategory
isFixedSetting() Checks if the given notification target is fixed for this category. humhub\modules\notification\components\NotificationCategory
isVisible() Determines if this category is visible for the given $user. humhub\modules\notification\components\NotificationCategory

Property Details

$id public property

The category id

public string $id 'space_member'

Method Details

getDefaultSetting() public method

Returns the default enabled settings for the given $target.

In case the $target is unknown, subclasses can either return $target->defaultSetting or another default value.

public boolean getDefaultSetting ( humhub\modules\notification\targets\BaseTarget $target )
$target humhub\modules\notification\targets\BaseTarget
getDescription() public method

Returns a group description

public void getDescription ( )
getTitle() public method

Returns a human readable title of this category

public void getTitle ( )