/** * Move the specified id toward the begining of the set. * @param object Id $id The Id of the item to move. * @access public * @return void */ function moveUp($id) { // Store the old order $oldOrder = $this->_items; // move the Item parent::moveUp($id); // update the database with the new order keys. $this->_updateOrders($oldOrder); }