protected function fetchReply($rpl)
    {
        foreach ($rpl as $key => $val) {
            if ($val->startsWith(Teamspeak::GREET)) {
                unset($rpl[$key]);
            } elseif ($val->startsWith(Teamspeak::EVENT)) {
                $this->evt[] = new Event($rpl[$key], $this->con);
                unset($rpl[$key]);
            }
        }

        $this->rpl = new StringHelper(implode(Teamspeak::SEPARATOR_LIST, $rpl));
    }
protected function fetchReply($rpl)
    {
        foreach ($rpl as $key => $val) {
            if ($val->startsWith(Teamspeak::GREET)) {
                unset($rpl[$key]);
            } elseif ($val->startsWith(Teamspeak::EVENT)) {
                $this->evt[] = new Event($rpl[$key], $this->con);
                unset($rpl[$key]);
            }
        }

        $this->rpl = new StringHelper(implode(Teamspeak::SEPARATOR_LIST, $rpl));
    }
protected function fetchReply ( $ rpl ) { foreach ( $ rpl as $ key => $ val ) { if ( $ val -> startsWith ( Teamspeak :: GREET ) ) { unset ( $ rpl [ $ key ] ) ; } elseif ( $ val -> startsWith ( Teamspeak :: EVENT ) ) { $ this -> evt [ ] = new Event ( $ rpl [ $ key ] , $ this -> con ) ; unset ( $ rpl [ $ key ] ) ; } } $ this -> rpl = new StringHelper ( implode ( Teamspeak :: SEPARATOR_LIST , $ rpl ) ) ; }
Parses a ServerQuery reply and creates a String object.

@param  array $rpl
@return void
Parses a ServerQuery reply and creates a String object .