Changeset 3861

Show
Ignore:
Timestamp:
02/20/08 22:27:35 (17 months ago)
Author:
meus
Message:

added setTableName to 4.3.1 example since it will not run out of the box without identifier quoting

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/manual/docs/en/relations.txt

    r3436 r3861  
    201201            // the following line is needed in many-to-many relations! 
    202202                                     'refClass' => 'GroupUser')); 
     203 
     204        //group is reserved keyword so either do this or enable ATTR_QUOTE_IDENTIFIERS 
     205        $this->setTableName('my_group');  
    203206    } 
    204207    public function setTableDefinition() {