administrator/components/com_categories/models/category.php
public function rebuild()
	{
		// Get an instance of the table object.
		$table = $this->getTable();

		if (!$table->rebuild())
		{
			$this->setError($table->getError());

			return false;
		}

		// Clear the cache
		$this->cleanCache();

		return true;
	}
public function rebuild()
	{
		// Get an instance of the table object.
		$table = $this->getTable();

		if (!$table->rebuild())
		{
			$this->setError($table->getError());

			return false;
		}

		// Clear the cache
		$this->cleanCache();

		return true;
	}
public function rebuild ( ) { // Get an instance of the table object. $ table = $ this -> getTable ( ) ; if ( ! $ table -> rebuild ( ) ) { $ this -> setError ( $ table -> getError ( ) ) ; return false ; } // Clear the cache $ this -> cleanCache ( ) ; return true ; }
Method rebuild the entire nested set tree.

@return  boolean  False on failure or error, true otherwise.

@since   1.6
Method rebuild the entire nested set tree .