public function implementedEvents() { return array_merge(parent::implementedEvents(), ['CasAuth.authenticate' => 'afterCasAuthenticate']); }
public function implementedEvents() { return parent::implementedEvents() + ['SpiderController.afterConstruct' => ['callable' => 'onAfterSpiderControllerConstruct']]; }
public function implementedEvents() { $events = parent::implementedEvents(); $events['Crud.beforeHandle'] = 'CrudBeforeHandle'; $events['Crud.afterSave'] = 'CrudAfterSave'; $events['Crud.afterDelete'] = 'CrudAfterDelete'; $events['Crud.beforeRedirect'] = 'CrudBeforeRedirect'; return $events; }