1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/Tag.php

10 lines
231 B
PHP

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