1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/models/CategoryNestedSet.php

17 lines
392 B
PHP
Raw Normal View History

2008-01-18 18:27:54 +03:00
<?php
class CategoryNestedSet extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('category_nested_set');
$this->hasColumn('id', 'integer', 4, array('primary' => true, 'autoincrement' => true));
$this->hasColumn('name', 'string', 255, array('notnull' => true));
$this->actAs('NestedSet');
}
public function setUp()
{
}
}