| 187 | | array( "joinTable" => "table_name", // The name of the table to be joined in |
| 188 | | "joinModel" => "Group", |
| 189 | | "localKey" => "group_id" |
| | 187 | array( "joinTable" => "table_name", // - The name of the table to be joined in |
| | 188 | "joinModel" => "Model Name", // - The name of the Model to create from this table. |
| | 189 | // this does not have to march any CakePHP model at all, and |
| | 190 | // in fact, should be different if you're joining in the same table |
| | 191 | // twice, or don't want to interfere with a model joined by CakePHP. |
| | 192 | "localKey" => "group_id", |
| | 193 | }}} |
| | 194 | |
| | 195 | |
| | 196 | {{{ |
| | 197 | #!php |
| | 198 | $serge =1 |