24 include_once(
'./Services/Calendar/classes/class.ilDateList.php');
25 include_once(
'./Services/Calendar/classes/class.ilTimeZone.php');
26 include_once(
'./Services/Calendar/classes/class.ilCalendarUtil.php');
54 $this->exclusion_id = $a_exclusion_id;
88 $this->cal_id = $a_id;
97 return $this->exclusion instanceof
ilDate ? $this->exclusion : null;
107 $this->exclusion = $dt;
132 $query =
"INSERT INTO cal_rec_exclusion (excl_id,cal_id,excl_date) ".
134 $ilDB->quote($next_id = $ilDB->nextId(
'cal_rec_exclusion'),
'integer').
', '.
135 $ilDB->quote($this->getEntryId(),
'integer').
', '.
136 $ilDB->quote($this->getDate()->get(
IL_CAL_DATE,
'',
'UTC'),
'timestamp').
138 $ilDB->manipulate(
$query);
140 $this->exclusion_id = $next_id;
141 return $this->
getId();
152 $query =
"SELECT * FROM cal_rec_exclusion WHERE excl_id = ".$ilDB->quote($this->
getId(),
'integer');
156 $this->cal_id =
$row->cal_id;