public function saveAsRoot()
	{
		// Compute the location where the item should reside
		$this->set('parent_id', 0);
		$this->set('level', 0);
		$this->set('lft', 0);
		$this->set('rgt', 1);

		// Save
		return $this->save();
	}
public function saveAsRoot()
	{
		// Compute the location where the item should reside
		$this->set('parent_id', 0);
		$this->set('level', 0);
		$this->set('lft', 0);
		$this->set('rgt', 1);

		// Save
		return $this->save();
	}
public function saveAsRoot ( ) { // Compute the location where the item should reside $ this -> set ( 'parent_id' , 0 ) ; $ this -> set ( 'level' , 0 ) ; $ this -> set ( 'lft' , 0 ) ; $ this -> set ( 'rgt' , 1 ) ; // Save return $ this -> save ( ) ; }
Saves a new root node element

@return  bool
@since   2.1.0
Saves a new root node element