function __construct()
 {
     parent::__construct('calendar/calendar_select_week');
     $now = new Academic_time(time());
     $this->mSelectedWeek = $now->BackToMonday()->Timestamp();
 }
コード例 #2
0
 /**
  * @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')));
 }
コード例 #3
0
 function __construct()
 {
     parent::__construct('calendar/calendar_list');
 }