2007-09-02 18:24:49 +04:00
|
|
|
<?php
|
|
|
|
class FooForeignlyOwnedWithPk extends Doctrine_Record
|
|
|
|
{
|
|
|
|
public function setTableDefinition()
|
|
|
|
{
|
|
|
|
$this->hasColumn('name', 'string', 200);
|
|
|
|
}
|
|
|
|
public function setUp()
|
|
|
|
{
|
2008-01-05 22:55:56 +03:00
|
|
|
//$this->hasOne('FooRecord', array('local' => 'id', 'foreign' => 'id'));
|
2007-09-02 18:24:49 +04:00
|
|
|
}
|
|
|
|
}
|