==== XML ==== ==== PHP ==== function rpcf_user5_messages_list($time_start,$time_end) { //-0x4014 $ret=array(); if (!$this->connection->urfa_call(-0x4014)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetInt($time_start); $packet->DataSetInt($time_end); $this->connection->urfa_send_param($packet); if ($x = $this->connection->urfa_get_data()) { $ret['messages_size'] = $x->DataGetInt(); for ($i=0;$i<$ret['messages_size'];$i++) { $messages['send_date'] = $x->DataGetInt(); $messages['recv_date'] = $x->DataGetInt(); $messages['subject'] = $x->DataGetString(); $messages['message'] = $x->DataGetString(); $ret['messages'][]=$messages; } } return $ret; }