public function serverGroupGetById($sgid)
  {
    if(!array_key_exists((string) $sgid, $this->serverGroupList()))
    {
      throw new \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\ServerQuery\Exception("invalid groupID", 0xA00);
    }

    return $this->sgroupList[intval((string) $sgid)];
  }
public function serverGroupGetById($sgid)
  {
    if(!array_key_exists((string) $sgid, $this->serverGroupList()))
    {
      throw new \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\ServerQuery\Exception("invalid groupID", 0xA00);
    }

    return $this->sgroupList[intval((string) $sgid)];
  }
public function serverGroupGetById ( $ sgid ) { if ( ! array_key_exists ( ( string ) $ sgid , $ this -> serverGroupList ( ) ) ) { throw new \ ManiaLivePlugins \ Standard \ TeamSpeak \ TeamSpeak3 \ Adapter \ ServerQuery \ Exception ( "invalid groupID" , 0xA00 ) ; } return $ this -> sgroupList [ intval ( ( string ) $ sgid ) ] ; }
Returns the TeamSpeak3_Node_Servergroup object matching the given ID.

@param  integer $sgid
@throws \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\ServerQuery\Exception
@return Servergroup
Returns the TeamSpeak3_Node_Servergroup object matching the given ID .