24 include_once(
'Services/Calendar/classes/class.ilTimeZone.php');
 
  118                 $this->cache_enabled = $a_status;
 
  137                 $this->cache_minutes = $a_min;
 
  157                 $this->enabled = $a_enabled;
 
  179                 $this->week_start = $a_start;
 
  200                 $this->timezone = $a_zone;
 
  222                 $this->date_format = $a_format;
 
  233                 return $this->date_format;
 
  245                 $this->time_format = $a_format;
 
  275                 $this->day_start = $a_start;
 
  294                 $this->day_end = $a_end;
 
  312                 $this->consultation_hours = $a_status;
 
  335                 $this->enablegroupmilestones = $a_enablegroupmilestones;
 
  345                 return $this->enablegroupmilestones;
 
  363                 $this->sync_cache_enabled = $a_status;
 
  373                 $this->sync_cache_minutes = $a_min;
 
  401                 $this->notification = $a_status;
 
  411                 $this->cg_registration = $a_status;
 
  426                 $this->storage->set(
'enabled',(
int) $this->
isEnabled());
 
  437                 $this->storage->set(
'cache_enabled',(
int) $this->
isCacheUsed());
 
  452                 $this->
setEnabled($this->storage->get(
'enabled'));
 
  454                 $this->
setDefaultWeekStart($this->storage->get(
'default_week_start',self::WEEK_START_MONDAY));
 
  458                 $this->
setDefaultDayStart($this->storage->get(
'default_day_start',self::DEFAULT_DAY_START));
 
  459                 $this->
setDefaultDayEnd($this->storage->get(
'default_day_end',self::DEFAULT_DAY_END));
 
  461                 $this->
setCacheMinutes($this->storage->get(
'cache_minutes',self::DEFAULT_CACHE_MINUTES));
 
  464                 $this->
enableNotification($this->storage->get(
'notification',$this->isNotificationEnabled()));
 
  465                 $this->
enableConsultationHours($this->storage->get(
'consultation_hours',$this->areConsultationHoursEnabled()));
 
  466                 $this->
enableCGRegistration($this->storage->get(
'cg_registration',$this->isCGRegistrationEnabled()));
 
  480                 $query = 
"SELECT ref_id FROM object_reference obr ".
 
  481                         "JOIN object_data obd ON obd.obj_id = obr.obj_id ".
 
  482                         "WHERE type = 'cals'";
 
  487                 $this->cal_settings_id = 
$row[0];
 
  498                 include_once(
'./Services/Administration/classes/class.ilSetting.php');
 
  499                 $this->storage = 
new ilSetting(
'calendar');