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

10 lines
230 B
PHP
Raw Normal View History

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