==== XML ==== ==== PHP ==== function rpcf_user5_get_group_id_by_name($name) { //-0x401b $ret=array(); if (!$this->connection->urfa_call(-0x401b)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetString($name); $this->connection->urfa_send_param($packet); if ($x = $this->connection->urfa_get_data()) { $ret['group_name'] = $name; $ret['group_id'] = $x->DataGetInt(); // $this->connection->urfa_get_data(); } return $ret; }