10 lines
229 B
PHP
10 lines
229 B
PHP
|
<?php
|
||
|
class NestedSetTest_SingleRootNode extends Doctrine_Record {
|
||
|
|
||
|
public function setTableDefinition() {
|
||
|
$this->actAs('NestedSet');
|
||
|
$this->hasColumn('name', 'string', 50, array('notnull'));
|
||
|
}
|
||
|
|
||
|
}
|