Метод |
Описание |
|
afterDelete ( CakeEvent $event ) : void |
Called after any delete() action |
|
afterFind ( CakeEvent $event ) : void |
After find callback |
|
afterListRelated ( CakeEvent $event ) : void |
Called after related records list for a model is fetched
$event->subject will contain the following properties that can be modified: |
|
afterPaginate ( CakeEvent $event ) : void |
Called right after any paginate() method |
|
afterSave ( CakeEvent $event ) : void |
Called after any save() method |
|
beforeDelete ( CakeEvent $event ) : void |
Called before any delete() action |
|
beforeFind ( CakeEvent $event ) : void |
Called before any find() on the model |
|
beforeListRelated ( CakeEvent $event ) : void |
Called before related records list for a model is fetched. |
|
beforePaginate ( CakeEvent $event ) : void |
Called right before any paginate() method |
|
beforeRedirect ( CakeEvent $event ) : void |
Called before any CRUD redirection |
|
beforeRender ( CakeEvent $event ) : void |
Called before cake's own render() |
|
beforeSave ( CakeEvent $event ) : void |
Called before a record is saved in add or edit actions |
|
implementedEvents ( ) : array |
Returns a list of all events that will fire in the controller during it's life cycle. |
|
init ( CakeEvent $event ) : void |
Initialize method |
|
invalidId ( CakeEvent $event ) : void |
Called if the ID format validation failed |
|
recordNotFound ( CakeEvent $event ) : void |
Called if a find() did not return any records |
|
setFlash ( CakeEvent $event ) : void |
Called before any CakeSession::setFlash |
|