1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/FilterTest.php

10 lines
260 B
PHP
Raw Normal View History

<?php
class FilterTest extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('name', 'string',100);
}
public function setUp() {
$this->ownsMany('FilterTest2 as filtered', 'FilterTest2.test1_id');
}
}