Exemple #1
0
 /**
  * Method to adjust the ordering of a row.
  *
  * Returns NULL if the user did not have edit
  * privileges for any of the selected primary keys.
  *
  * @param	int				$pks	The ID of the primary key to move.
  * @param	integer			$delta	Increment, usually +1 or -1
  *
  * @return	boolean|null	False on failure or error, true on success.
  * @since	1.6
  */
 public function reorder($pks, $delta = 0)
 {
     // Clear the component's cache
     $cache = JFactory::getCache();
     $cache->clean('com_modules');
     $cache->clean('mod_menu');
     return parent::reorder($pks, $delta);
 }