public function loadDatesFromSession() { $this->dateFrom = ViewsStats::getDateFrom(); $this->dateTo = ViewsStats::getDateTo(); }