original_string: protected function getSiteInfoFromQueryParam($idSites, $_restrictSitesToLogin)
      {
          $websiteIds = Site::getIdSitesFromIdSitesString($idSites, $_restrictSitesToLogin);
  
          $timezone = false;
          if (count($websiteIds) == 1) {
              $timezone = Site::getTimezoneFor($websiteIds[0]);
          }
  
          $idSiteIsAll = $idSites == Archive::REQUEST_ALL_WEBSITES_FLAG;
  
          return [$websiteIds, $timezone, $idSiteIsAll];
      }
code: protected function getSiteInfoFromQueryParam($idSites, $_restrictSitesToLogin)
      {
          $websiteIds = Site::getIdSitesFromIdSitesString($idSites, $_restrictSitesToLogin);
  
          $timezone = false;
          if (count($websiteIds) == 1) {
              $timezone = Site::getTimezoneFor($websiteIds[0]);
          }
  
          $idSiteIsAll = $idSites == Archive::REQUEST_ALL_WEBSITES_FLAG;
  
          return [$websiteIds, $timezone, $idSiteIsAll];
      }
code_tokens: protected function getSiteInfoFromQueryParam ( $ idSites , $ _restrictSitesToLogin ) { $ websiteIds = Site :: getIdSitesFromIdSitesString ( $ idSites , $ _restrictSitesToLogin ) ; $ timezone = false ; if ( count ( $ websiteIds ) == 1 ) { $ timezone = Site :: getTimezoneFor ( $ websiteIds [ 0 ] ) ; } $ idSiteIsAll = $ idSites == Archive :: REQUEST_ALL_WEBSITES_FLAG ; return [ $ websiteIds , $ timezone , $ idSiteIsAll ] ; }
docstring: Parses the site ID string provided in the 'idSite' query parameter to a list of
  website IDs.
  
  @param string $idSites the value of the 'idSite' query parameter
  @param bool $_restrictSitesToLogin
  @return array an array containing three elements:
  - an array of website IDs
  - string timezone to use (or false to use no timezone) when creating periods.
  - true if the request was for all websites (this forces the archive result to
  be indexed by site, even if there is only one site in Piwik)
docstring_tokens: Parses the site ID string provided in the idSite query parameter to a list of website IDs .