Update lib/Cake/Model/Model.php

Corrected an unlogic link from Model:find to an appropriate page in the docs
This commit is contained in:
ravage84 2012-12-21 15:06:43 +01:00
parent 08cde9f5a2
commit bd71f8aa25

View file

@ -2628,7 +2628,7 @@ class Model extends Object implements CakeEventListener {
* @param string $type Type of find operation (all / first / count / neighbors / list / threaded)
* @param array $query Option fields (conditions / fields / joins / limit / offset / order / page / group / callbacks)
* @return array Array of records, or Null on failure.
* @link http://book.cakephp.org/2.0/en/models/deleting-data.html#deleteall
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html
*/
public function find($type = 'first', $query = array()) {
$this->findQueryType = $type;