original_string: public function hasSiteVisitsBetweenTimeframe($fromDateTime, $toDateTime, $idSite)
      {
          $sites = Db::fetchOne("SELECT 1
                  FROM " . Common::prefixTable('log_visit') . "
                  WHERE idsite = ?
                  AND visit_last_action_time > ?
                  AND visit_last_action_time < ?
                  LIMIT 1", array($idSite, $fromDateTime, $toDateTime));
  
          return (bool) $sites;
      }
code: public function hasSiteVisitsBetweenTimeframe($fromDateTime, $toDateTime, $idSite)
      {
          $sites = Db::fetchOne("SELECT 1
                  FROM " . Common::prefixTable('log_visit') . "
                  WHERE idsite = ?
                  AND visit_last_action_time > ?
                  AND visit_last_action_time < ?
                  LIMIT 1", array($idSite, $fromDateTime, $toDateTime));
  
          return (bool) $sites;
      }
code_tokens: public function hasSiteVisitsBetweenTimeframe ( $ fromDateTime , $ toDateTime , $ idSite ) { $ sites = Db :: fetchOne ( "SELECT 1
                  FROM " . Common :: prefixTable ( 'log_visit' ) . "
                  WHERE idsite = ?
                  AND visit_last_action_time > ?
                  AND visit_last_action_time < ?
                  LIMIT 1" , array ( $ idSite , $ fromDateTime , $ toDateTime ) ) ; return ( bool ) $ sites ; }
docstring: Returns the list of the website IDs that received some visits between the specified timestamp.
  
  @param string $fromDateTime
  @param string $toDateTime
  @return bool true if there are visits for this site between the given timeframe, false if not
docstring_tokens: Returns the list of the website IDs that received some visits between the specified timestamp .