Skip to content

Commit

Permalink
Adding new beforeFind param to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 9, 2014
1 parent d7aabbf commit a9bc321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ORM/Table.php
Expand Up @@ -72,9 +72,9 @@
* Table objects provide a few callbacks/events you can hook into to augment/replace
* find operations. Each event uses the standard event subsystem in CakePHP
*
* - `beforeFind($event, $query, $options)` - Fired before each find operation. By stopping
* the event and supplying a return value you can bypass the find operation entirely. Any
* changes done to the $query instance will be retained for the rest of the find.
* - `beforeFind($event, $query, $options, $primary)` - Fired before each find operation.
* By stopping the event and supplying a return value you can bypass the find operation
* entirely. Any changes done to the $query instance will be retained for the rest of the find.
* - `beforeValidate($event, $entity, $options, $validator)` - Fired before an entity is validated.
* By stopping this event, you can abort the validate + save operations.
* - `afterValidate($event, $entity, $options, $validator)` - Fired after an entity is validated.
Expand Down

0 comments on commit a9bc321

Please sign in to comment.