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,10 +2024,12 @@ class Model extends Overloadable {
* find('all', array(
* 'conditions' => array('name' => 'Thomas Anderson'),
* 'joins' => array(
* 'alias' => 'Thought',
* 'table' => 'thoughts',
* 'type' => 'LEFT',
* 'conditions' => '`Thought`.`person_id` = `Person`.`id`'
* array(
* 'alias' => 'Thought',
* 'table' => 'thoughts',
* 'type' => 'LEFT',
* 'conditions' => '`Thought`.`person_id` = `Person`.`id`'
* )
* )
* ));
* }}}