X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=gaas%2Flib%2FgaasClientMessages.php;fp=gaas%2Flib%2FgaasClientMessages.php;h=d66bf08ddd8e1b72b83bf26f8f824cdbee5e0489;hp=69589fcc73b80fab7c927fc654805aa1246e8903;hb=17d7c1e759c50b2fe796306f5ca3f46e064cadaa;hpb=e90887f0fd673f152c95fb9965707d9f0aa07497 diff --git a/gaas/lib/gaasClientMessages.php b/gaas/lib/gaasClientMessages.php index 69589fc..d66bf08 100644 --- a/gaas/lib/gaasClientMessages.php +++ b/gaas/lib/gaasClientMessages.php @@ -37,6 +37,10 @@ function gaasInitServer_clientsend($params) } // pretty simple, it either works or doesnt, we just pass on the result +// im leaving this function here as an example of how you deal +// with data coming back from the server but prior to returning +// to the client. if it just returns the data back to the client +// you doing have to define a recving function function gaasInitServer_clientrecv($params) { return $params; @@ -51,31 +55,21 @@ function gaasSetADLogin_clientsend($params) return $msg; } -function gaasSetADLogin_clientrecv($params) -{ - return $params; -} - function gaasSetClientGroup_clientsend($params) { $msg["clientgroup"] = $params[0]; return $msg; } -function gaasSetClientGroup_clientrecv($params) -{ - return $params; -} - function gaasSetAdminGroup_clientsend($params) { $msg["admingroup"] = $params[0]; return $msg; } -function gaasSetAdminGroup_clientrecv($params) +function gaasProvisionUser_clientsend($params) { - return $params; + return $msg; } ?> \ No newline at end of file