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