XML

    <function name="rpcf_add_message" id="0x5001">
      <input>
        <integer name="receiver_id" />
	<string name="subject" />
	<string name="message" />
	<string name="mime" />
	<integer name="is_for_all" />
      </input>
      <output>
      </output>
    </function>

PHP

	function rpcf_add_message($receiver_id,$subject,$message,$mime="text/plain",$is_for_all=0) { //0x5001
                if (!$this->connection->urfa_call(0x5001)) {
                        print "Error calling function ". __FUNCTION__ ."\n";
                        return FALSE;
                }
                $packet = $this->connection->getPacket();
		$packet->DataSetInt($receiver_id);
                $packet->DataSetString($subject);
                $packet->DataSetString($message);
		$packet->DataSetString($mime);
		$packet->DataSetInt($is_for_all);
		$this->connection->urfa_send_param($packet);
                $this->connection->urfa_get_data();
        }
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_admin/function_name_rpcf_add_message_id_0x5001.txt · Последние изменения: 2010/02/17 04:57 От 212.14.202.178
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: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