function ClientsConnectionDrupalTestNodeLoad6_2::callNodeLoadMethod in Web Service Clients 7.3
Call the remote method.
File
- connections/
clients_drupal/ clients_drupal.testing.inc, line 235 - Contains classes for Client connection testing.
Class
- ClientsConnectionDrupalTestNodeLoad6_2
- Test retrieving a node from a Drupal Services 6.x-2.x connection.
Code
function callNodeLoadMethod($connection, $nid) {
$fields = array();
$node = $connection
->callMethodArray('node.get', array(
$nid,
$fields,
));
return $node;
}