public static function updateStatus() { $result = array(); $updated = lC_Credit_cards_Admin::updateStatus($_GET['ccid'], $_GET['cstatus']); if ($updated) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }
public static function batchDelete($batch) { foreach ($batch as $id) { lC_Credit_cards_Admin::delete($id); } return true; }