Class humhub\modules\like\Events

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

Events provides callbacks to handle events.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
onActiveRecordDelete() humhub\modules\like\Events
onIntegrityCheck() Callback to validate module database records. humhub\modules\like\Events
onUserDelete() On User delete, also delete all comments humhub\modules\like\Events
onWallEntryLinksInit() On initalizing the wall entry controls also add the like link widget humhub\modules\like\Events

Method Details

onActiveRecordDelete() public static method

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

Callback to validate module database records.

public static void onIntegrityCheck ( $event )
$event \humhub\modules\like\Event
onUserDelete() public static method

On User delete, also delete all comments

public static void onUserDelete ( $event )
$event \humhub\modules\like\type
onWallEntryLinksInit() public static method

On initalizing the wall entry controls also add the like link widget

public static void onWallEntryLinksInit ( $event )
$event \humhub\modules\like\type