function __construct()
 {
     parent::__construct('calendar/calendar_select_week');
     $now = new Academic_time(time());
     $this->mSelectedWeek = $now->BackToMonday()->Timestamp();
 }
 /**
  * @pre SetRange() must have already been called.
  */
 function Retrieve()
 {
     parent::Retrieve();
     $this->SetData('prev', $this->GenerateUri($this->mStartTime->Adjust(-$this->mNumDays . 'day'), $this->mStartTime));
     $this->SetData('next', $this->GenerateUri($this->mEndTime, $this->mEndTime->Adjust($this->mNumDays . 'day')));
 }
 function __construct()
 {
     parent::__construct('calendar/calendar_list');
 }