Configuration - Custom primary key column.php 186 Bytes
Newer Older
1

hansbrix's avatar
hansbrix committed
2 3 4 5 6 7 8 9 10
<code type="php">
// custom primary key column name

class Group extends Doctrine_Record {
    public function setUp() {
        $this->setPrimaryKeyColumn("group_id");
    }
}
</code>