Correcting example in doc block. Fixes #1132

This commit is contained in:
mark_story 2010-09-24 22:23:24 -04:00
parent 9e4c890082
commit 8cd266c77f

View file

@ -2024,11 +2024,13 @@ class Model extends Overloadable {
* find('all', array( * find('all', array(
* 'conditions' => array('name' => 'Thomas Anderson'), * 'conditions' => array('name' => 'Thomas Anderson'),
* 'joins' => array( * 'joins' => array(
* array(
* 'alias' => 'Thought', * 'alias' => 'Thought',
* 'table' => 'thoughts', * 'table' => 'thoughts',
* 'type' => 'LEFT', * 'type' => 'LEFT',
* 'conditions' => '`Thought`.`person_id` = `Person`.`id`' * 'conditions' => '`Thought`.`person_id` = `Person`.`id`'
* ) * )
* )
* )); * ));
* }}} * }}}
* *