english/administrator/components/com_categories/models/category.php
/**
	 * Method to save the reordered nested set tree.
	 * First we save the new order values in the lft values of the changed ids.
	 * Then we invoke the table rebuild to implement the new ordering.
	 *
	 * @return	boolean false on failuer or error, true otherwise
	 * @since	1.6
	*/
Method to save the reordered nested set tree.
First we save the new order values in the lft values of the changed ids.
Then we invoke the table rebuild to implement the new ordering.

@return      boolean false on failuer or error, true otherwise
@since       1.6
Method to save the reordered nested set tree . First we save the new order values in the lft values of the changed ids . Then we invoke the table rebuild to implement the new ordering . @return boolean false on failuer or error true otherwise @since 1 . 6
public function saveorder($idArray = null, $lft_array = null)
	{
		$table = $this->getTable();
		if (!$table->saveorder($idArray, $lft_array)) {
			$this->setError($table->getError());
			return false;
		}
		$this->cleanCache();
		return true;
	}
public function saveorder ( $ idArray = null , $ lft_array = null ) { $ table = $ this -> getTable ( ) ; if ( ! $ table -> saveorder ( $ idArray , $ lft_array ) ) { $ this -> setError ( $ table -> getError ( ) ) ; return false ; } $ this -> cleanCache ( ) ; return true ; }
Method to save the reordered nested set tree.
Method to save the reordered nested set tree .
// Get an instance of the table object. // Clear the cache