1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/Configuration - Custom primary key column.php

11 lines
186 B
PHP
Raw Normal View History

2007-04-14 01:49:11 +04:00
<code type="php">
// custom primary key column name
class Group extends Doctrine_Record {
public function setUp() {
$this->setPrimaryKeyColumn("group_id");
}
}
</code>