public static function deleteEntry() { $result = array(); $deleted = lC_Banner_manager_Admin::delete($_GET['bid']); if ($deleted) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }
public static function batchDelete($batch) { foreach ($batch as $id) { lC_Banner_manager_Admin::delete($id); } return true; }