function clients_call in Web Service Clients 6
Same name and namespace in other branches
- 7 clients.module \clients_call()
defines hook_clients_call
3 calls to clients_call()
- clientsQuery::execute in clients/
clients_views/ clientsQuery.inc - Execute a call
- clients_drupal_clients_fields in backends/
clients_drupal/ clients_drupal.module - Implementation of hook_clients_fields - refactor as inc file? Allows us to get field for a specific resource. Default fields are set at the connection type level here and additional custom field will be defined per resource (@todo). This will allow…
- FeedsClientsFetcher::fetch in clients/
clients_feeds/ FeedsClientsFetcher.inc - Fetch a local resource.
File
- ./
clients.module, line 251 - Clients module - handles keys and service connections and provides an API for clients @author Django Beatty - adub
Code
function clients_call($resource) {
$connection = clients_connection_load((int) $resource->cid);
$result = module_invoke_all('clients_call', $connection, $resource);
module_invoke_all('clients_call_postprocess', $result, $connection, $resource);
return $result;
}