You are here

function clients_connection_drupal_services::callMethod in Web Service Clients 7

Call a remote method.

Parameters

$method: The name of the remote method to call.

All other parameters are passed to the remote method.: Note that the D5 version of Services does not seem to respect optional parameters; you should pass in defaults (eg an empty string or 0) instead of omitting a parameter.

Return value

Whatever is returned from the remote site.

1 method overrides clients_connection_drupal_services::callMethod()
clients_connection_drupal_services_6_2::callMethod in backends/clients_drupal/clients_drupal.inc
Call a remote method.

File

backends/clients_drupal/clients_drupal.inc, line 201
Defines methods and calls to Drupal services

Class

clients_connection_drupal_services
General Drupal client class.

Code

function callMethod($method) {

  // TODO: Needs to be written for Services D7.

  //dsm($method);
}