Class humhub\modules\space\Events

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

Events provides callbacks for all defined module events.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
onConsoleApplicationInit() humhub\modules\space\Events
onIntegrityCheck() Callback to validate module database records. humhub\modules\space\Events
onSearchRebuild() On rebuild of the search index, rebuild all space records humhub\modules\space\Events
onUserSoftDelete() Callback on user soft deletion humhub\modules\space\Events

Method Details

onConsoleApplicationInit() public static method

public static void onConsoleApplicationInit ( $event )
$event
onIntegrityCheck() public static method

Callback to validate module database records.

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

On rebuild of the search index, rebuild all space records

public static void onSearchRebuild ( $event )
$event \humhub\modules\space\type
onUserSoftDelete() public static method

Callback on user soft deletion

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