You are here

function wsclient_ui_operation_load in Web service client 7

Operation load callback.

File

wsclient_ui/wsclient_ui.module, line 28
Web service client UI - module file.

Code

function wsclient_ui_operation_load($operation_name, $service_name) {
  $service = wsclient_service_load($service_name);
  if ($service && isset($service->operations[$operation_name])) {
    $operation = $service->operations[$operation_name];
    $operation['name'] = $operation_name;
    return $operation;
  }
  return FALSE;
}