XML

    <function name="rpcf_remove_user" id="0x200e">
      <input>
        <integer name="user_id" />
      </input>
      <output>
          <integer name="result" />
      </output>
    </function>

PHP

        function rpcf_remove_user($user_id) { //0x200e
                $ret=array();
                if (!$this->connection->urfa_call(0x200e)) {
                        print "Error calling function ". __FUNCTION__ ."\n";
                        return FALSE;
                }
                $packet = $this->connection->getPacket();
                $packet->DataSetInt($user_id);
                $this->connection->urfa_send_param($packet);
                if ($x = $this->connection->urfa_get_data()){
                        $ret['result']=$x->DataGetInt();
//                        $this->connection->urfa_get_data();
                }
                return $ret;
        }
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_admin/function_name_rpcf_remove_user_id_0x200e.txt · Последние изменения: 2009/08/26 09:42 От 94.124.240.3
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: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