ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Export calendar(s) to ical format More...
Public Member Functions | |
__construct ($a_calendar_ids=array()) | |
getUserSettings () | |
Get user settings. More... | |
setExportType ($a_type) | |
setAppointments ($a_apps) | |
getAppointments () | |
setCalendarIds ($a_cal_ids) | |
getCalendarIds () | |
getExportType () | |
export () | |
getExportString () | |
Data Fields | |
const | EXPORT_CALENDARS = 1 |
const | EXPORT_APPOINTMENTS = 2 |
Protected Member Functions | |
addTimezone () | |
addCategories () | |
addAppointments () | |
addAppointment ($a_app_id) | |
createVTODO ($app) | |
createVEVENT ($app) | |
Create VEVENT entry ilObjUser $ilUser. More... | |
createRecurrences ($app) | |
buildAppointmentUrl (ilCalendarEntry $entry) | |
Build url from calendar entry. More... | |
Protected Attributes | |
$export_type = self::EXPORT_CALENDARS | |
$calendars = array() | |
$user_settings = null | |
$appointments = array() | |
$writer = null | |
Private Attributes | |
$logger = null | |
Export calendar(s) to ical format
Definition at line 37 of file class.ilCalendarExport.php.
ilCalendarExport::__construct | ( | $a_calendar_ids = array() | ) |
Definition at line 55 of file class.ilCalendarExport.php.
References $GLOBALS, and ilCalendarUserSettings\_getInstanceByUserId().
|
protected |
Definition at line 163 of file class.ilCalendarExport.php.
References createVEVENT(), and createVTODO().
Referenced by addAppointments(), and addCategories().
|
protected |
Definition at line 156 of file class.ilCalendarExport.php.
References addAppointment(), and getAppointments().
Referenced by export().
|
protected |
Definition at line 147 of file class.ilCalendarExport.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), addAppointment(), and array.
Referenced by export().
|
protected |
Definition at line 127 of file class.ilCalendarExport.php.
References $GLOBALS, $reader, ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, getUserSettings(), and ilCalendarUtil\getZoneInfoFile().
Referenced by export().
|
protected |
Build url from calendar entry.
ilCalendarEntry | $entry |
Definition at line 299 of file class.ilCalendarExport.php.
References ilObject\_getAllReferences(), ilLink\_getLink(), ilCalendarCategoryAssignments\_lookupCategories(), array, ilCalendarEntry\getEntryId(), ilCalendarCategory\getInstanceByCategoryId(), and ilCalendarCategory\TYPE_OBJ.
Referenced by createVEVENT().
|
protected |
Definition at line 275 of file class.ilCalendarExport.php.
References $ilUser, ilCalendarRecurrences\_getRecurrences(), and ilCalendarRecurrenceExclusions\getExclusionDates().
Referenced by createVEVENT().
|
protected |
Create VEVENT entry ilObjUser $ilUser.
ilCalendarEntry | $app |
Definition at line 184 of file class.ilCalendarExport.php.
References $end, $ilUser, ilCalendarRecurrences\_getFirstRecurrence(), buildAppointmentUrl(), ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, createRecurrences(), ilICalWriter\escapeText(), getUserSettings(), IL_CAL_DAY, IL_CAL_FKT_DATE, IL_CAL_UNIX, IL_CAL_YEAR, time, and ilTimeZone\UTC.
Referenced by addAppointment().
|
protected |
Definition at line 173 of file class.ilCalendarExport.php.
Referenced by addAppointment().
ilCalendarExport::export | ( | ) |
Definition at line 106 of file class.ilCalendarExport.php.
References addAppointments(), addCategories(), addTimezone(), and getExportType().
Referenced by ilCalendarRemoteAccessHandler\handleRequest().
ilCalendarExport::getAppointments | ( | ) |
Definition at line 86 of file class.ilCalendarExport.php.
References $appointments.
Referenced by addAppointments().
ilCalendarExport::getCalendarIds | ( | ) |
ilCalendarExport::getExportString | ( | ) |
Definition at line 289 of file class.ilCalendarExport.php.
ilCalendarExport::getExportType | ( | ) |
Definition at line 101 of file class.ilCalendarExport.php.
References $export_type.
Referenced by export().
ilCalendarExport::getUserSettings | ( | ) |
Get user settings.
Definition at line 70 of file class.ilCalendarExport.php.
References $user_settings.
Referenced by addTimezone(), and createVEVENT().
ilCalendarExport::setAppointments | ( | $a_apps | ) |
Definition at line 81 of file class.ilCalendarExport.php.
ilCalendarExport::setCalendarIds | ( | $a_cal_ids | ) |
Definition at line 91 of file class.ilCalendarExport.php.
ilCalendarExport::setExportType | ( | $a_type | ) |
Definition at line 76 of file class.ilCalendarExport.php.
References $a_type.
|
protected |
Definition at line 52 of file class.ilCalendarExport.php.
Referenced by getAppointments().
|
protected |
Definition at line 50 of file class.ilCalendarExport.php.
Referenced by getCalendarIds().
|
protected |
Definition at line 42 of file class.ilCalendarExport.php.
Referenced by getExportType().
|
private |
Definition at line 47 of file class.ilCalendarExport.php.
|
protected |
Definition at line 51 of file class.ilCalendarExport.php.
Referenced by getUserSettings().
|
protected |
Definition at line 53 of file class.ilCalendarExport.php.
const ilCalendarExport::EXPORT_APPOINTMENTS = 2 |
Definition at line 40 of file class.ilCalendarExport.php.
Referenced by ilCalendarMailNotification\addAttachment().
const ilCalendarExport::EXPORT_CALENDARS = 1 |
Definition at line 39 of file class.ilCalendarExport.php.