Class humhub\modules\activity\Events

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

Events provides callbacks to handle events.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
onActiveRecordDelete() On delete of some active record, check if there are related activities and delete them. humhub\modules\activity\Events
onCronDailyRun() Handles cron daily run event to send mail summaries to the users humhub\modules\activity\Events
onCronHourlyRun() Handles cron hourly run event to send mail summaries to the users humhub\modules\activity\Events
onIntegrityCheck() Callback to validate module database records. humhub\modules\activity\Events

Method Details

onActiveRecordDelete() public static method

On delete of some active record, check if there are related activities and delete them.

public static void onActiveRecordDelete ( \yii\base\Event $event )
$event \yii\base\Event
onCronDailyRun() public static method

Handles cron daily run event to send mail summaries to the users

public static void onCronDailyRun ( $event )
$event \yii\base\ActionEvent
onCronHourlyRun() public static method

Handles cron hourly run event to send mail summaries to the users

public static void onCronHourlyRun ( $event )
$event \yii\base\ActionEvent
onIntegrityCheck() public static method

Callback to validate module database records.

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