IP-зоны в справочнике.

XML

<function name="rpcf_get_ipzones_list" id="0x2800">
    <input/>
    <output>
      <integer name="zones_count" />
      <for name="i" from="0" count="zones_count">
        <integer name="zone_id" array_index="i" />
        <string name="zone_name" array_index="i" />
      </for>
    </output>
  </function>

PHP

 function rpcf_get_ipzones_list() { //0x2800
      $ret=array();
      if (!$this->connection->urfa_call(0x2800)) {
         print "Error calling function ". __FUNCTION__ ."\n";
         return FALSE;
      }
      $x = $this->connection->urfa_get_data();// count
      $count = $x->DataGetInt();
      $ret['count'] = $count;
      for ($i=0;$i<$count;$i++) {
         $x = $this->connection->urfa_get_data();
         $ipzone['zone_id']=$x->DataGetInt();
         $ipzone['zone_name']=$x->DataGetString();
         $ret['ipzones'][]=$ipzone;
      }
      $this->connection->urfa_get_data();
      return $ret;
   }
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_admin/function_name_rpcf_get_ipzones_list_id_0x2800.txt · Последние изменения: 2009/11/21 02:31 От 94.232.59.106
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: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