public static function getBatchInfo() { $result = lC_Orders_Admin::batchInfo($_GET['batch']); $result['rpcStatus'] = RPC_STATUS_SUCCESS; echo json_encode($result); }