Class humhub\modules\user\Events

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

Events provides callbacks for all defined module events.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
onContentDelete() On delete of a Content or ContentAddon humhub\modules\user\Events
onHourlyCron() Tasks on hourly cron job humhub\modules\user\Events
onIntegrityCheck() Callback to validate module database records. humhub\modules\user\Events
onSearchRebuild() On rebuild of the search index, rebuild all user records humhub\modules\user\Events

Method Details

onContentDelete() public static method

On delete of a Content or ContentAddon

public static void onContentDelete ( $event )
$event \yii\base\Event
onHourlyCron() public static method

Tasks on hourly cron job

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

Callback to validate module database records.

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

On rebuild of the search index, rebuild all user records

public static void onSearchRebuild ( $event )
$event \yii\base\Event