ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Stores exclusion dates for calendar recurrences. More...
Public Member Functions | |
__construct ($a_exclusion_id=0) | |
Constructor. More... | |
getId () | |
Get exclusion id. More... | |
getEntryId () | |
Get calendar entry id. More... | |
setEntryId ($a_id) | |
Set entry id (id of calendar appointment) More... | |
getDate () | |
Get exclusion date. More... | |
setDate (ilDate $dt=null) | |
Set exclusion date. More... | |
toICal () | |
Exclusion date to ical format. More... | |
save () | |
Save exclusion date to db. More... | |
Protected Member Functions | |
read () | |
Read exclusion. More... | |
Protected Attributes | |
$exclusion = null | |
$cal_id = 0 | |
$exclusion_id = 0 | |
$db = null | |
Stores exclusion dates for calendar recurrences.
Definition at line 38 of file class.ilCalendarRecurrenceExclusion.php.
ilCalendarRecurrenceExclusion::__construct | ( | $a_exclusion_id = 0 | ) |
Constructor.
Definition at line 50 of file class.ilCalendarRecurrenceExclusion.php.
References $DIC, $ilDB, getId(), and read().
ilCalendarRecurrenceExclusion::getDate | ( | ) |
Get exclusion date.
Definition at line 97 of file class.ilCalendarRecurrenceExclusion.php.
Referenced by save(), and toICal().
ilCalendarRecurrenceExclusion::getEntryId | ( | ) |
Get calendar entry id.
Definition at line 78 of file class.ilCalendarRecurrenceExclusion.php.
References $cal_id.
Referenced by toICal().
ilCalendarRecurrenceExclusion::getId | ( | ) |
Get exclusion id.
Definition at line 69 of file class.ilCalendarRecurrenceExclusion.php.
References $exclusion_id.
Referenced by __construct(), read(), and save().
|
protected |
Read exclusion.
Definition at line 160 of file class.ilCalendarRecurrenceExclusion.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getId(), IL_CAL_DATE, and setDate().
Referenced by __construct().
ilCalendarRecurrenceExclusion::save | ( | ) |
Save exclusion date to db.
Definition at line 134 of file class.ilCalendarRecurrenceExclusion.php.
References $DIC, $ilDB, $query, getDate(), getId(), and IL_CAL_DATE.
ilCalendarRecurrenceExclusion::setDate | ( | ilDate | $dt = null | ) |
Set exclusion date.
ilDate | $dt | [optional] |
Definition at line 107 of file class.ilCalendarRecurrenceExclusion.php.
Referenced by read().
ilCalendarRecurrenceExclusion::setEntryId | ( | $a_id | ) |
Set entry id (id of calendar appointment)
object | $a_id |
Definition at line 88 of file class.ilCalendarRecurrenceExclusion.php.
ilCalendarRecurrenceExclusion::toICal | ( | ) |
Exclusion date to ical format.
Definition at line 116 of file class.ilCalendarRecurrenceExclusion.php.
References $start, getDate(), getEntryId(), IL_CAL_FKT_DATE, and ilTimeZone\UTC.
|
protected |
Definition at line 41 of file class.ilCalendarRecurrenceExclusion.php.
Referenced by getEntryId().
|
protected |
Definition at line 44 of file class.ilCalendarRecurrenceExclusion.php.
|
protected |
Definition at line 40 of file class.ilCalendarRecurrenceExclusion.php.
|
protected |
Definition at line 42 of file class.ilCalendarRecurrenceExclusion.php.
Referenced by getId().