/**
  * Set start and end timestamp needed to collect analytics data
  *
  * @return	void
  */
 private function setDates()
 {
     // process
     BackendAnalyticsHelper::setDates();
     // get timestamps from session and set
     $this->startTimestamp = (int) SpoonSession::get('analytics_start_timestamp');
     $this->endTimestamp = (int) SpoonSession::get('analytics_end_timestamp');
 }
Example #2
0
 /**
  * Set start and end timestamp needed to collect analytics data
  */
 private function setDates()
 {
     BackendAnalyticsHelper::setDates();
     $this->startTimestamp = SpoonSession::get('analytics_start_timestamp');
     $this->endTimestamp = SpoonSession::get('analytics_end_timestamp');
 }