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