Class humhub\modules\content\Events

Inheritancehumhub\modules\content\Events » yii\base\BaseObject

Events provides callbacks to handle events.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
onContentActiveRecordDelete() After a components\ContentActiveRecord was deleted humhub\modules\content\Events
onContentActiveRecordSave() After a components\ContentActiveRecord was saved humhub\modules\content\Events
onIntegrityCheck() Callback to validate module database records. humhub\modules\content\Events
onSearchRebuild() On rebuild of the search index, rebuild all user records humhub\modules\content\Events
onSpaceDelete() Callback when a user is completely deleted. humhub\modules\content\Events
onUserDelete() Callback when a user is completely deleted. humhub\modules\content\Events
onUserSoftDelete() Callback when a user is soft deleted. humhub\modules\content\Events
onWallEntryAddonInit() On init of the WallEntryAddonWidget, attach the wall entry links widget. humhub\modules\content\Events

Method Details

onContentActiveRecordDelete() public static method

After a components\ContentActiveRecord was deleted

public static void onContentActiveRecordDelete ( $event )
$event \yii\base\Event
onContentActiveRecordSave() public static method

After a components\ContentActiveRecord was saved

public static void onContentActiveRecordSave ( $event )
$event \yii\base\Event
onIntegrityCheck() public static method

Callback to validate module database records.

public static void onIntegrityCheck ( $event )
$event \humhub\modules\content\Event
onSearchRebuild() public static method

On rebuild of the search index, rebuild all user records

public static void onSearchRebuild ( $event )
$event \humhub\modules\content\type
onSpaceDelete() public static method

Callback when a user is completely deleted.

public static void onSpaceDelete ( $event )
$event \yii\base\Event
onUserDelete() public static method

Callback when a user is completely deleted.

public static void onUserDelete ( $event )
$event \yii\base\Event
onUserSoftDelete() public static method

Callback when a user is soft deleted.

public static void onUserSoftDelete ( humhub\modules\user\events\UserEvent $event )
$event humhub\modules\user\events\UserEvent
onWallEntryAddonInit() public static method

On init of the WallEntryAddonWidget, attach the wall entry links widget.

public static void onWallEntryAddonInit ( $event )
$event \humhub\modules\content\CEvent