11 lines
322 B
PHP
11 lines
322 B
PHP
<?php
|
|
class FooReferenceRecord extends Doctrine_Entity
|
|
{
|
|
public static function initMetadata($class)
|
|
{
|
|
$class->setTableName('foo_reference');
|
|
$class->setColumn('foo1', 'integer', null, array('primary' => true));
|
|
$class->setColumn('foo2', 'integer', null, array('primary' => true));
|
|
}
|
|
}
|