1
0
mirror of synced 2024-12-15 07:36:03 +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);
}
}