. */ /** * Doctrine template which implements the custom NestedSet implementation * * @package Doctrine * @subpackage Template * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision$ * @author Roman Borschel */ class Doctrine_Template_NestedSet extends Doctrine_Template { /** * Set up NestedSet template * * @return void */ public function setUp() { $this->_table->setOption('treeOptions', $this->_options); $this->_table->setOption('treeImpl', 'NestedSet'); } /** * Call set table definition for the NestedSet behavior * * @return void */ public function setTableDefinition() { $this->_table->getTree()->setTableDefinition(); } }