// base64 or datetime values, but they will be listed as strings here...
$numParams = count($call['params']);
$pt = array();
+ $wrapper = new Wrapper();
foreach ($call['params'] as $val) {
- $pt[] = php_2_xmlrpc_type(gettype($val));
+ $pt[] = $wrapper->php_2_xmlrpc_type(gettype($val));
}
$result = $server->execute($call['methodName'], $call['params'], $pt);
// syntax: @return type desc
//$returns = preg_split('/\s+/', $doc);
if (preg_match('/@return\s+(\S+)\s+(.+)/', $doc, $matches)) {
- $returns = php_2_xmlrpc_type($matches[1]);
+ $returns = $this->php_2_xmlrpc_type($matches[1]);
if (isset($matches[2])) {
$returnsDocs = $matches[2];
}