Abstract Class humhub\modules\live\components\LiveEvent

Inheritancehumhub\modules\live\components\LiveEvent » yii\base\BaseObject
Subclasseshumhub\modules\comment\live\NewComment, humhub\modules\content\live\NewContent, humhub\modules\live\live\LegitimationChanged, humhub\modules\notification\live\NewNotification
Available since version1.2

LiveEvent implements a message which can be send via live communication

Public Methods

Hide inherited methods

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

Property Details

$contentContainerId public property
$visibility public property

See also [[\humhub\modules\content\models\Content::VISIBILITY_*]].

public integer $visibility null

Method Details

getData() public method

Returns the data of this event as array

public array getData ( )
return array

The live event data