function _radioactivity_http_cb_get_invocation in Radioactivity 5
1 call to _radioactivity_http_cb_get_invocation()
File
- plugins/
radioactivity_http.module, line 322
Code
function _radioactivity_http_cb_get_invocation($port) {
switch ($port['access_method']) {
case 'method-and-query':
$method = substr($_GET['q'], strlen($port['path']) + 1);
$params = array();
$signature = _radioactivity_http_get_method_signature($method);
if (!$signature) {
return FALSE;
}
foreach ($signature as $name) {
$params[$name] = $_GET[$name];
}
return array(
'method' => $method,
'params' => $params,
);
}
return FALSE;
}