original_string: public function getLogoFromUrl($url)
      {
          $pathInPiwik  = 'plugins/Morpheus/icons/dist/searchEngines/%s.png';
          $pathWithCode = sprintf($pathInPiwik, $this->getHostFromUrl($url));
          $absolutePath = PIWIK_INCLUDE_PATH . '/' . $pathWithCode;
          if (file_exists($absolutePath)) {
              return $pathWithCode;
          }
          return sprintf($pathInPiwik, 'xx');
      }
code: public function getLogoFromUrl($url)
      {
          $pathInPiwik  = 'plugins/Morpheus/icons/dist/searchEngines/%s.png';
          $pathWithCode = sprintf($pathInPiwik, $this->getHostFromUrl($url));
          $absolutePath = PIWIK_INCLUDE_PATH . '/' . $pathWithCode;
          if (file_exists($absolutePath)) {
              return $pathWithCode;
          }
          return sprintf($pathInPiwik, 'xx');
      }
code_tokens: public function getLogoFromUrl ( $ url ) { $ pathInPiwik = 'plugins/Morpheus/icons/dist/searchEngines/%s.png' ; $ pathWithCode = sprintf ( $ pathInPiwik , $ this -> getHostFromUrl ( $ url ) ) ; $ absolutePath = PIWIK_INCLUDE_PATH . '/' . $ pathWithCode ; if ( file_exists ( $ absolutePath ) ) { return $ pathWithCode ; } return sprintf ( $ pathInPiwik , 'xx' ) ; }
docstring: Return search engine logo path by URL
  
  @param string $url
  @return string path
  @see plugins/Morpheus/icons/dist/searchEnginges/
docstring_tokens: Return search engine logo path by URL