<function name="rpcf_add_discount_period" id="0x2603"> <input> <integer name="id" /> <integer name="start" /> <integer name="expire" /> <integer name="periodic_type_t" /> <integer name="cd" /> <integer name="di" /> </input> <output> </output> </function>
function rpcf_add_discount_period($id,$start,$expire,$periodic_type_t,$cd,$di) { //0x2603 $ret=0; if (!$this->connection->urfa_call(0x2603)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetInt($id); $packet->DataSetInt($start); $packet->DataSetInt($expire); $packet->DataSetInt($periodic_type_t); $packet->DataSetInt($cd); $packet->DataSetInt($di); $this->connection->urfa_send_param($packet); $this->connection->urfa_get_data(); }