XML

  <function name="rpcf_get_houses_list" id="0x2810">
    <input/>
    <output>
      <integer name="count" />
      <for name="i" from="0" count="count">
        <integer name="house_id" array_index="i" />
        <integer name="ip_zone_id" array_index="i" />
        <integer name="connect_date" array_index="i" />
        <string name="post_code" array_index="i" />
        <string name="country" array_index="i" />
        <string name="region" array_index="i" />
        <string name="city" array_index="i" />
        <string name="street" array_index="i" />
        <string name="number" array_index="i" />
        <string name="building" array_index="i" />
      </for>
    </output>
  </function>

PHP

        function rpcf_get_houses_list() { //0x2810
                $ret=array();
                if (!$this->connection->urfa_call(0x2810)) {
                        print "Error calling function ". __FUNCTION__ ."\n";
                        return FALSE;
                }
                $x = $this->connection->urfa_get_data();
                $count = $x->DataGetInt();
                $ret['count'] = $count;
                for ($i=0;$i<$count;$i++) {
                        $house['house_id']=$x->DataGetInt();
                        $house['ip_zone_id']=$x->DataGetInt();
                        $house['connect_date']=$x->DataGetInt();
                        $house['post_code']=$x->DataGetString();
                        $house['country']=$x->DataGetString();
                        $house['region']=$x->DataGetString();
                        $house['city']=$x->DataGetString();
                        $house['street']=$x->DataGetString();
                        $house['number']=$x->DataGetString();
                        $house['building']=$x->DataGetString();
                        $ret['houses'][]=$house;
                }
                return $ret;
        }
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_admin/function_name_rpcf_get_houses_list_id_0x2810.txt · Последние изменения: 2011/06/29 14:47 От 86.57.252.109
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: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