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

11 lines
236 B
PHP
Raw Normal View History

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