implementedEvents() public method

You can override this function to add your own listener callbacks
public implementedEvents ( ) : array
return array
 public function implementedEvents()
 {
     return array_merge(parent::implementedEvents(), ['CasAuth.authenticate' => 'afterCasAuthenticate']);
 }
示例#2
0
 public function implementedEvents()
 {
     return parent::implementedEvents() + ['SpiderController.afterConstruct' => ['callable' => 'onAfterSpiderControllerConstruct']];
 }
示例#3
-1
 public function implementedEvents()
 {
     $events = parent::implementedEvents();
     $events['Crud.beforeHandle'] = 'CrudBeforeHandle';
     $events['Crud.afterSave'] = 'CrudAfterSave';
     $events['Crud.afterDelete'] = 'CrudAfterDelete';
     $events['Crud.beforeRedirect'] = 'CrudBeforeRedirect';
     return $events;
 }