Class humhub\modules\admin\Events

Inheritancehumhub\modules\admin\Events » yii\base\BaseObject
Available since version0.5

Admin Module provides the administrative backend for HumHub installations.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
onConsoleApplicationInit() On console application initialization humhub\modules\admin\Events
onCronDailyRun() Callback on daily cron job run humhub\modules\admin\Events
onDashboardSidebarInit() On Init of Dashboard Sidebar, add the approve notification widget humhub\modules\admin\Events
onSwitchUser() humhub\modules\admin\Events

Method Details

onConsoleApplicationInit() public static method

On console application initialization

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

Callback on daily cron job run

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

On Init of Dashboard Sidebar, add the approve notification widget

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

The event

onSwitchUser() public static method

public static void onSwitchUser ( $event )
$event

UserEvent