function Calendar($month, $year, $ID = "") { $this->browseable = true; $this->ID = $ID; $this->days = DateTools::getMonth($month, $year); $this->month = $month; $this->year = $year; $this->eventsArray = array(); $this->tpl = new Template("lib/JPF/templates/Calendar.tpl"); $this->DefineBlocks($this->tpl); }