|
|
@@ -3392,12 +3392,12 @@ class Model extends Object implements CakeEventListener {
|
|
|
* Called before each find operation. Return false if you want to halt the find
|
|
|
* call, otherwise return the (modified) query data.
|
|
|
*
|
|
|
- * @param array $queryData Data used to execute this query, i.e. conditions, order, etc.
|
|
|
+ * @param array $query Data used to execute this query, i.e. conditions, order, etc.
|
|
|
* @return mixed true if the operation should continue, false if it should abort; or, modified
|
|
|
- * $queryData to continue with new $queryData
|
|
|
+ * $query to continue with new $query
|
|
|
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#beforefind
|
|
|
*/
|
|
|
- public function beforeFind($queryData) {
|
|
|
+ public function beforeFind($query) {
|
|
|
return true;
|
|
|
}
|
|
|
|