public static function getStats() { $result = lC_Restrict_shipping_Admin::stats($_GET['bid'], $_GET['type'], $_GET['month'], $_GET['year']); $result['rpcStatus'] = RPC_STATUS_SUCCESS; echo json_encode($result); }