10 lines
230 B
PHP
10 lines
230 B
PHP
<?php
|
|
class Photo extends Doctrine_Record {
|
|
public function setUp() {
|
|
$this->hasMany('Tag', 'Phototag.tag_id');
|
|
}
|
|
public function setTableDefinition() {
|
|
$this->hasColumn('name', 'string', 100);
|
|
}
|
|
}
|