ILIAS
release_4-3 Revision
|
Export calendar(s) to ical format More...
Public Member Functions | |
__construct ($a_calendar_ids=array()) | |
getUserSettings () | |
Get user settings. | |
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) | |
createRecurrences ($app) | |
buildAppointmentUrl (ilCalendarEntry $entry) | |
Build url from calendar entry. |
Protected Attributes | |
$export_type = self::EXPORT_CALENDARS | |
$calendars = array() | |
$user_settings = NULL | |
$appointments = array() | |
$writer = 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 50 of file class.ilCalendarExport.php.
References $GLOBALS, and ilCalendarUserSettings\_getInstanceByUserId().
|
protected |
Definition at line 161 of file class.ilCalendarExport.php.
References createVEVENT(), and createVTODO().
Referenced by addAppointments(), and addCategories().
|
protected |
Definition at line 153 of file class.ilCalendarExport.php.
References addAppointment(), and getAppointments().
Referenced by export().
|
protected |
Definition at line 142 of file class.ilCalendarExport.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), and addAppointment().
Referenced by export().
|
protected |
Definition at line 119 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 301 of file class.ilCalendarExport.php.
References ilObject\_getAllReferences(), ilLink\_getLink(), ilCalendarCategoryAssignments\_lookupCategories(), 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 |
Definition at line 180 of file class.ilCalendarExport.php.
References $ilUser, ilCalendarRecurrences\_getFirstRecurrence(), buildAppointmentUrl(), ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, createRecurrences(), ilICalWriter\escapeText(), getUserSettings(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_FKT_DATE, IL_CAL_UNIX, IL_CAL_YEAR, and ilTimeZone\UTC.
Referenced by addAppointment().
|
protected |
Definition at line 174 of file class.ilCalendarExport.php.
Referenced by addAppointment().
ilCalendarExport::export | ( | ) |
Definition at line 98 of file class.ilCalendarExport.php.
References addAppointments(), addCategories(), addTimezone(), and getExportType().
Referenced by ilCalendarRemoteAccessHandler\handleRequest().
ilCalendarExport::getAppointments | ( | ) |
Definition at line 78 of file class.ilCalendarExport.php.
References $appointments.
Referenced by addAppointments().
ilCalendarExport::getCalendarIds | ( | ) |
Definition at line 88 of file class.ilCalendarExport.php.
References $calendars.
ilCalendarExport::getExportString | ( | ) |
Definition at line 291 of file class.ilCalendarExport.php.
ilCalendarExport::getExportType | ( | ) |
Definition at line 93 of file class.ilCalendarExport.php.
References $export_type.
Referenced by export().
ilCalendarExport::getUserSettings | ( | ) |
Get user settings.
Definition at line 62 of file class.ilCalendarExport.php.
References $user_settings.
Referenced by addTimezone(), and createVEVENT().
ilCalendarExport::setAppointments | ( | $a_apps | ) |
Definition at line 73 of file class.ilCalendarExport.php.
ilCalendarExport::setCalendarIds | ( | $a_cal_ids | ) |
Definition at line 83 of file class.ilCalendarExport.php.
ilCalendarExport::setExportType | ( | $a_type | ) |
Definition at line 68 of file class.ilCalendarExport.php.
|
protected |
Definition at line 47 of file class.ilCalendarExport.php.
Referenced by getAppointments().
|
protected |
Definition at line 45 of file class.ilCalendarExport.php.
Referenced by getCalendarIds().
|
protected |
Definition at line 42 of file class.ilCalendarExport.php.
Referenced by getExportType().
|
protected |
Definition at line 46 of file class.ilCalendarExport.php.
Referenced by getUserSettings().
|
protected |
Definition at line 48 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.