protected function getDistinctURLHash(PHPCrawlerURLDescriptor $UrlDescriptor)
  {
    if ($this->url_distinct_property == self::URLHASH_URL)
      return md5($UrlDescriptor->url_rebuild);
    elseif ($this->url_distinct_property == self::URLHASH_RAWLINK)
      return md5($UrlDescriptor->link_raw);
    else
      return null;
  }
protected function getDistinctURLHash(PHPCrawlerURLDescriptor $UrlDescriptor)
  {
    if ($this->url_distinct_property == self::URLHASH_URL)
      return md5($UrlDescriptor->url_rebuild);
    elseif ($this->url_distinct_property == self::URLHASH_RAWLINK)
      return md5($UrlDescriptor->link_raw);
    else
      return null;
  }
protected function getDistinctURLHash ( PHPCrawlerURLDescriptor $ UrlDescriptor ) { if ( $ this -> url_distinct_property == self :: URLHASH_URL ) return md5 ( $ UrlDescriptor -> url_rebuild ) ; elseif ( $ this -> url_distinct_property == self :: URLHASH_RAWLINK ) return md5 ( $ UrlDescriptor -> link_raw ) ; else return null ; }
Returns the distinct-hash for the given URL that ensures that no URLs a cached more than one time.

@return string The hash or NULL if no distinct-hash should be used.
Returns the distinct - hash for the given URL that ensures that no URLs a cached more than one time .