IP-зоны в справочнике.
==== XML ====
==== 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;
}