2007-09-02 14:24:49 +00:00
|
|
|
<?php
|
|
|
|
class FilterTest extends Doctrine_Record {
|
|
|
|
public function setTableDefinition() {
|
|
|
|
$this->hasColumn('name', 'string',100);
|
|
|
|
}
|
|
|
|
public function setUp() {
|
2008-01-23 08:04:54 +00:00
|
|
|
$this->hasMany('FilterTest2 as filtered', 'FilterTest2.test1_id');
|
2007-09-02 14:24:49 +00:00
|
|
|
}
|
|
|
|
}
|