<function name="rpcf_user5_get_user_group_list" id="-0x401c"> <input> </input> <output> <integer name="groups_count" /> <for name="i" from="0" count="groups_count"> <integer name="id" array_index="i" /> </for> </output> </function>
function rpcf_user5_get_user_group_list() { //-0x401c $ret=array(); if (!$this->connection->urfa_call(-0x401c)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $x = $this->connection->urfa_get_data(); $ret['count'] = $x->DataGetInt(); for ($i=0;$i<$ret['count'];$i++) { $group['id'] = $x->DataGetInt(); $ret['groups'][]=$group; } // $this->connection->urfa_get_data(); return $ret; }