function clients_connection_base::callMethodArray in Web Service Clients 7.2
Same name and namespace in other branches
- 6.2 clients.inc \clients_connection_base::callMethodArray()
- 7.3 includes/clients.entity.inc \clients_connection_base::callMethodArray()
Call a remote method with an array of parameters.
This is intended for internal use from callMethod() and clients_connection_call(). If you need to call a method on given connection object, use callMethod which has a nicer form.
Parameters
$method: The name of the remote method to call.
$method_params: An array of parameters to passed to the remote method.
Return value
Whatever is returned from the remote site.
Throws
Exception on error from the remote site. It's up to subclasses to implement this, as the test for an error and the way to get information about it varies according to service type.
3 calls to clients_connection_base::callMethodArray()
- clients_connection_base::callMethod in ./
clients.inc - Call a remote method.
- clients_connection_drupal_services::testConnectionConnect in connections/
clients_drupal/ clients_drupal.inc - Connection test button handler: basic connection.
- clients_connection_drupal_services::testConnectionLogin in connections/
clients_drupal/ clients_drupal.inc - Connection test button handler: user login.
3 methods override clients_connection_base::callMethodArray()
- clients_connection_broken::callMethodArray in ./
clients.inc - Fail to call a remote method with an array of parameters.
- clients_connection_drupal_services_6_2::callMethodArray in connections/
clients_drupal/ clients_drupal.inc - Call a remote method with an array of parameters.
- clients_connection_drupal_services_7_3::callMethodArray in connections/
clients_drupal/ clients_drupal.inc - Call a remote method.
File
- ./
clients.inc, line 161 - Contains basic classes for client connections.
Class
- clients_connection_base
- Base class for client connections.
Code
function callMethodArray($method, $method_params = array()) {
// Up to subclasses to override this to do something.
}