Class humhub\modules\notification\live\NewNotification

Inheritancehumhub\modules\notification\live\NewNotification » humhub\modules\live\components\LiveEvent » yii\base\BaseObject
Available since version1.2

Live event for new notifications

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getData() Returns the data of this event as array humhub\modules\live\components\LiveEvent
init() humhub\modules\notification\live\NewNotification

Property Details

$notificationGroup public property

Related notification group

public string $notificationGroup null
$notificationId public property

The id of the new notification

public integer $notificationId null
$text public property

Text representation used for frotnend desktop notifications

public string $text null
$ts public property

Determines if desktop notification has already been sent.

public integer $ts null

Method Details

init() public method

public void init ( )