1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/BlogTag.php
romanb 532d3da4f1 Bugfix for hydration. (zyne, please have a look at the diff).
Improvements and enhancements to the NestedSet (not BC! please have a look at draft/nestedset_changes.tree).
Added a model that was missing in the repos (model/BlogTag).
Updated a testcase.
2007-07-08 12:57:52 +00:00

11 lines
236 B
PHP

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