XML

    <function name="rpcf_add_once_service_to_user" id="0x2555">
      <input>
        <integer name="user_id" />
	<integer name="account_id" />
	<integer name="service_id" />
	<integer name="tplink" />
	<integer name="slink_id" />
	<integer  name="discount_date" />
	<double  name="quantity" />
	<integer name="invoice_id" />
      </input>
      <output>
        <string name="result" />
      </output>
    </function>

PHP

	function rpcf_add_once_service_to_user($user_id,$account_id,$service_id,$tplink,$slink_id,$discount_date,$quantity,$invoice_id) { //0x2555
		$ret=array();
		if (!$this->connection->urfa_call(0x2555)) {
			print "Error calling function ". __FUNCTION__ ."\n";
			return FALSE;
		}
		$packet = $this->connection->getPacket();
		$packet->DataSetInt($user_id);
		$packet->DataSetInt($account_id);
		$packet->DataSetInt($service_id);
		$packet->DataSetInt($tplink);
		$packet->DataSetInt($slink_id);
		$packet->DataSetInt($discount_date);
		$packet->DataSetDouble($quantity);
		$packet->DataSetInt($invoice_id);
		$this->connection->urfa_send_param($packet);
		if ($x = $this->connection->urfa_get_data()) {
			$ret['result']=$x->DataGetString();
//			$this->connection->urfa_get_data();
		}
		return $ret;
	}
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_admin/function_name_rpcf_add_once_service_to_user_id_0x2555.txt · Последние изменения: 2009/07/23 14:17 От swibl
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki