original_string: private function initStateFromParameters()
      {
          $this->todayArchiveTimeToLive = Rules::getTodayArchiveTimeToLive();
          $this->processPeriodsMaximumEverySeconds = $this->getDelayBetweenPeriodsArchives();
          $this->lastSuccessRunTimestamp = $this->getLastSuccessRunTimestamp();
          $this->shouldArchiveOnlySitesWithTrafficSince = $this->isShouldArchiveAllSitesWithTrafficSince();
          $this->shouldArchiveOnlySpecificPeriods = $this->getPeriodsToProcess();
  
          if ($this->shouldArchiveOnlySitesWithTrafficSince !== false) {
              // force-all-periods is set here
              $this->archiveAndRespectTTL = false;
          }
      }
code: private function initStateFromParameters()
      {
          $this->todayArchiveTimeToLive = Rules::getTodayArchiveTimeToLive();
          $this->processPeriodsMaximumEverySeconds = $this->getDelayBetweenPeriodsArchives();
          $this->lastSuccessRunTimestamp = $this->getLastSuccessRunTimestamp();
          $this->shouldArchiveOnlySitesWithTrafficSince = $this->isShouldArchiveAllSitesWithTrafficSince();
          $this->shouldArchiveOnlySpecificPeriods = $this->getPeriodsToProcess();
  
          if ($this->shouldArchiveOnlySitesWithTrafficSince !== false) {
              // force-all-periods is set here
              $this->archiveAndRespectTTL = false;
          }
      }
code_tokens: private function initStateFromParameters ( ) { $ this -> todayArchiveTimeToLive = Rules :: getTodayArchiveTimeToLive ( ) ; $ this -> processPeriodsMaximumEverySeconds = $ this -> getDelayBetweenPeriodsArchives ( ) ; $ this -> lastSuccessRunTimestamp = $ this -> getLastSuccessRunTimestamp ( ) ; $ this -> shouldArchiveOnlySitesWithTrafficSince = $ this -> isShouldArchiveAllSitesWithTrafficSince ( ) ; $ this -> shouldArchiveOnlySpecificPeriods = $ this -> getPeriodsToProcess ( ) ; if ( $ this -> shouldArchiveOnlySitesWithTrafficSince !== false ) { // force-all-periods is set here $ this -> archiveAndRespectTTL = false ; } }
docstring: Initializes the various parameters to the script, based on input parameters.
docstring_tokens: Initializes the various parameters to the script based on input parameters .