/** * show side blocks * * @access protected * @param * @return */ protected function showSideBlocks() { global $ilUser, $ilCtrl; $tpl = new ilTemplate('tpl.cal_side_block.html', true, true, 'Services/Calendar'); include_once './Services/Calendar/classes/class.ilMiniCalendarGUI.php'; $mini = new ilMiniCalendarGUI($this->seed, $this); // $mini->setPresentationMode(ilMiniCalendarGUI::PRESENTATION_CALENDAR); $tpl->setVariable('MINICAL', $mini->getHTML()); include_once './Services/Calendar/classes/class.ilCalendarCategoryGUI.php'; $cat = new ilCalendarCategoryGUI($ilUser->getId(), $this->seed); $tpl->setVariable('CATEGORIES', $ilCtrl->getHTML($cat)); $this->tpl->setLeftContent($tpl->get()); }
public function __construct($seed, $cal_id, $a_par_obj) { parent::__construct($seed, $a_par_obj); $this->cal_cat_id = $cal_id; $this->initCalendar(); }