function xmlrpc_SearchSuppliers($xmlrpcmsg) { ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 4) { /*x*/ $rtn = new xmlrpcresp(php_xmlrpc_encode(SearchSuppliers($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval(), $xmlrpcmsg->getParam(2)->scalarval(), $xmlrpcmsg->getParam(3)->scalarval()))); /*x*/ } else { $rtn = new xmlrpcresp(php_xmlrpc_encode(SearchSuppliers($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval(), '', ''))); /*x*/ } ob_end_flush(); return $rtn; }
function xmlrpc_SearchSuppliers($xmlrpcmsg) { return new xmlrpcresp(php_xmlrpc_encode(SearchSuppliers($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval(), $xmlrpcmsg->getParam(2)->scalarval(), $xmlrpcmsg->getParam(3)->scalarval()))); }