/** * registerFunction * * Registers all the functions on the service class * */ protected function registerFunction() { $GLOBALS['log']->fatal('Begin: registry->registerFunction'); parent::registerFunction(); $this->serviceClass->registerFunction('Qget_entry_list', array('session' => 'xsd:string', 'module_name' => 'xsd:string', 'query' => 'xsd:string', 'order_by' => 'xsd:string', 'offset' => 'xsd:int', 'select_fields' => 'tns:select_fields', 'link_name_to_fields_array' => 'tns:link_names_to_fields_array', 'max_results' => 'xsd:int', 'deleted' => 'xsd:int', 'favorites' => 'xsd:boolean'), array('return' => 'tns:get_entry_list_result_version2')); $this->serviceClass->registerFunction('get_computation', array('session' => 'xsd:string', 'module_name' => 'xsd:string', 'query' => 'xsd:string', 'select_fields' => 'xsd:select_fields', 'operators' => 'xsd:select_fields'), array('return' => 'tns:entry_list')); }
/** * registerFunction * * Registers all the functions on the service class * */ protected function registerFunction() { $GLOBALS['log']->info('Begin: registry->registerFunction'); parent::registerFunction(); //get_client_lead_id returns the lead or client id for the supplied email address $this->serviceClass->registerFunction('get_client_lead_id', array('session' => 'xsd:string', 'email' => 'xsd:string'), array('return' => 'tns:get_entry_result')); //set_clients_or_leads updates lead or client record as per the supplied email address $this->serviceClass->registerFunction('set_clients_or_leads', array('session' => 'xsd:string', 'email' => 'xsd:string', 'name_value_list' => 'tns:name_value_list'), array('return' => 'tns:get_entry_result')); //set_case_record creates a case record and relates to client/lead and if not exits creats a lead. $this->serviceClass->registerFunction('set_case_record', array('session' => 'xsd:string', 'email' => 'xsd:string', 'name_value_list' => 'tns:name_value_list'), array('return' => 'tns:get_entry_result')); //set_form_submission creates a form submission record and relates to client/lead and if not exits creats a lead. $this->serviceClass->registerFunction('set_form_submission', array('session' => 'xsd:string', 'email' => 'xsd:string', 'form_array' => 'tns:form_array', 'name_value_list' => 'tns:name_value_list'), array('return' => 'tns:get_entry_result')); }
protected function registerFunction() { parent::registerFunction(); $this->serviceClass->registerFunction('find_beans_with_phone_number', array('session' => 'xsd:string', 'phone_number' => 'xsd:string', 'module_order' => 'xsd:string', 'stop_on_find' => 'xsd:bool'), array('return' => 'xsd:string')); $this->serviceClass->registerFunction('originate_call', array('session' => 'xsd:string', 'from_extension' => 'xsd:string', 'to_phone_number' => 'xsd:string')); }
protected function registerFunction() { parent::registerFunction(); $this->serviceClass->registerFunction('zuckerreports_query', array('session' => 'xsd:string', 'sql' => 'xsd:string'), array('return' => 'tns:return_zuckerreports_resultset')); }