original_string: public function serverGroupGetById($sgid)
    {
      if(!array_key_exists((string) $sgid, $this->serverGroupList()))
      {
        throw new Exception("invalid groupID", 0xA00);
      }
  
      return $this->sgroupList[intval((string) $sgid)];
    }
code: public function serverGroupGetById($sgid)
    {
      if(!array_key_exists((string) $sgid, $this->serverGroupList()))
      {
        throw new Exception("invalid groupID", 0xA00);
      }
  
      return $this->sgroupList[intval((string) $sgid)];
    }
code_tokens: public function serverGroupGetById ( $ sgid ) { if ( ! array_key_exists ( ( string ) $ sgid , $ this -> serverGroupList ( ) ) ) { throw new Exception ( "invalid groupID" , 0xA00 ) ; } return $ this -> sgroupList [ intval ( ( string ) $ sgid ) ] ; }
docstring: Returns the Servergroup object matching the given ID.
  
  @param  integer $sgid
  @throws Exception
  @return ServerGroup
docstring_tokens: Returns the Servergroup object matching the given ID .