original_string: public function getDefinitionByHost($host)
      {
          $searchEngines = $this->getDefinitions();
  
          if (!array_key_exists($host, $searchEngines)) {
              return array();
          }
  
          return $searchEngines[$host];
      }
code: public function getDefinitionByHost($host)
      {
          $searchEngines = $this->getDefinitions();
  
          if (!array_key_exists($host, $searchEngines)) {
              return array();
          }
  
          return $searchEngines[$host];
      }
code_tokens: public function getDefinitionByHost ( $ host ) { $ searchEngines = $ this -> getDefinitions ( ) ; if ( ! array_key_exists ( $ host , $ searchEngines ) ) { return array ( ) ; } return $ searchEngines [ $ host ] ; }
docstring: Returns definitions for the given search engine host
  
  @param string $host
  @return array
docstring_tokens: Returns definitions for the given search engine host