/** * 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 integer $pks The ID of the primary key to move. * @param integer $delta Increment, usually +1 or -1 * * @return mixed False on failure or error, true on success, null if the $pk is empty (no items selected). * * @since 11.1 */ public function reorder($pks, $delta = 0) { // make keys to array $pks = $this->_getPrimaryKeys($pks); $delta = JRequest::getVar('delta', $delta); // Execute parent $result = parent::reorder($pks, $delta); // Build Return Object return $this->_setReturnValue($result); }