532d3da4f1
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.
11 lines
236 B
PHP
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);
|
|
}
|
|
}
|