. */ /** * Doctrine_Template_NestedSet * * @package Doctrine * @subpackage Template * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ * @author Roman Borschel */ class Doctrine_Template_NestedSet extends Doctrine_Template { private $_options; public function __construct(array $options) { $this->_options = $options; } public function setUp() { $this->_table->setOption('treeOptions', $this->_options); $this->_table->setOption('treeImpl', 'NestedSet'); } public function setTableDefinition() { $this->_table->getTree()->setTableDefinition(); } }