ILIAS
Release_4_2_x_branch Revision 61807
|
Stores exclusion dates for calendar recurrences. More...
Public Member Functions | |
__construct ($a_exclusion_id=0) | |
Constructor. | |
getId () | |
Get exclusion id. | |
getEntryId () | |
Get calendar entry id. | |
setEntryId ($a_id) | |
Set entry id (id of calendar appointment) | |
getDate () | |
Get exclusion date. | |
setDate (ilDate $dt=NULL) | |
Set exclusion date. | |
toICal () | |
Exclusion date to ical format. | |
save () | |
Save exclusion date to db. |
Protected Member Functions | |
read () | |
Read exclusion. |
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 | ) |
ilCalendarRecurrenceExclusion::getDate | ( | ) |
Get exclusion date.
Definition at line 96 of file class.ilCalendarRecurrenceExclusion.php.
Referenced by save(), and toICal().
ilCalendarRecurrenceExclusion::getEntryId | ( | ) |
Get calendar entry id.
Definition at line 77 of file class.ilCalendarRecurrenceExclusion.php.
References $cal_id.
Referenced by toICal().
ilCalendarRecurrenceExclusion::getId | ( | ) |
Get exclusion id.
Definition at line 68 of file class.ilCalendarRecurrenceExclusion.php.
References $exclusion_id.
Referenced by __construct(), read(), and save().
|
protected |
Read exclusion.
Definition at line 161 of file class.ilCalendarRecurrenceExclusion.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getId(), IL_CAL_DATE, and setDate().
Referenced by __construct().
ilCalendarRecurrenceExclusion::save | ( | ) |
Save exclusion date to db.
Definition at line 136 of file class.ilCalendarRecurrenceExclusion.php.
References $ilDB, $query, getDate(), getId(), and IL_CAL_DATE.
ilCalendarRecurrenceExclusion::setDate | ( | ilDate | $dt = NULL | ) |
Set exclusion date.
ilDate | $dt | [optional] |
Definition at line 106 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 87 of file class.ilCalendarRecurrenceExclusion.php.
ilCalendarRecurrenceExclusion::toICal | ( | ) |
Exclusion date to ical format.
Definition at line 115 of file class.ilCalendarRecurrenceExclusion.php.
References getDate(), getEntryId(), and IL_CAL_FKT_DATE.
|
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().