ILIAS
release_7 Revision v7.30-3-g800a261c036
|
@classDescription Export calendar(s) to ical format More...
Public Member Functions | |
__construct (array $a_calendar_ids=[], bool $is_export_limited=false) | |
getUserSettings () | |
setAppointments ($a_apps) | |
getAppointments () | |
setCalendarIds (array $a_cal_ids) | |
getCalendarIds () | |
setExportType (int $a_type) | |
getExportType () | |
export () | |
getExportString () | |
Data Fields | |
const | EXPORT_CALENDARS = 1 |
const | EXPORT_APPOINTMENTS = 2 |
Protected Member Functions | |
createTimezones () | |
addCategories (int $remaining_bytes) | |
isRepeatingAppointment (ilCalendarEntry $appointment) | |
addAppointments () | |
createAppointment (ilCalendarEntry $appointment) | |
createVTODO (ilCalendarEntry $app) | |
createVEVENT (ilCalendarEntry $app) | |
createRecurrences (ilCalendarEntry $app) | |
buildAppointmentUrl (ilCalendarEntry $entry) | |
Protected Attributes | |
const | BYTE_LIMIT = 1000000 |
$export_type = self::EXPORT_CALENDARS | |
$logger = null | |
$il_user | |
$calendars | |
$user_settings | |
$appointments | |
$str_writer_export | |
$is_export_limited | |
@classDescription Export calendar(s) to ical format
Definition at line 37 of file class.ilCalendarExport.php.
ilCalendarExport::__construct | ( | array | $a_calendar_ids = [] , |
bool | $is_export_limited = false |
||
) |
int[] | $a_calendar_ids |
Definition at line 79 of file class.ilCalendarExport.php.
References $DIC, $is_export_limited, and ilCalendarUserSettings\_getInstanceByUserId().
|
protected |
Definition at line 236 of file class.ilCalendarExport.php.
References $app, createAppointment(), and getAppointments().
Referenced by export().
|
protected |
Definition at line 182 of file class.ilCalendarExport.php.
References Vendor\Package\$a, Vendor\Package\$b, ilCalendarCategoryAssignments\_getAssignedAppointments(), createAppointment(), IL_CAL_FKT_DATE, IL_CAL_UNIX, isRepeatingAppointment(), and ilTimeZone\UTC.
Referenced by export().
|
protected |
Definition at line 346 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 246 of file class.ilCalendarExport.php.
References createVEVENT(), createVTODO(), and ilCalendarEntry\isMilestone().
Referenced by addAppointments(), and addCategories().
|
protected |
Definition at line 325 of file class.ilCalendarExport.php.
References $app, ilCalendarRecurrences\_getRecurrences(), and ilCalendarRecurrenceExclusions\getExclusionDates().
Referenced by createVEVENT().
|
protected |
Definition at line 160 of file class.ilCalendarExport.php.
References ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, getUserSettings(), and ilCalendarUtil\getZoneInfoFile().
Referenced by export().
|
protected |
Definition at line 260 of file class.ilCalendarExport.php.
References $app, buildAppointmentUrl(), ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, CLIENT_ID, createRecurrences(), ilICalWriter\escapeText(), getUserSettings(), IL_CAL_DAY, IL_CAL_FKT_DATE, IL_CAL_UNIX, and ilTimeZone\UTC.
Referenced by createAppointment().
|
protected |
Definition at line 255 of file class.ilCalendarExport.php.
Referenced by createAppointment().
ilCalendarExport::export | ( | ) |
Definition at line 132 of file class.ilCalendarExport.php.
References addAppointments(), addCategories(), createTimezones(), EXPORT_APPOINTMENTS, EXPORT_CALENDARS, and getExportType().
ilCalendarExport::getAppointments | ( | ) |
Definition at line 101 of file class.ilCalendarExport.php.
References $appointments.
Referenced by addAppointments().
ilCalendarExport::getCalendarIds | ( | ) |
Definition at line 117 of file class.ilCalendarExport.php.
References $calendars.
ilCalendarExport::getExportString | ( | ) |
Definition at line 341 of file class.ilCalendarExport.php.
ilCalendarExport::getExportType | ( | ) |
Definition at line 127 of file class.ilCalendarExport.php.
References $export_type.
Referenced by export().
ilCalendarExport::getUserSettings | ( | ) |
Definition at line 91 of file class.ilCalendarExport.php.
References $user_settings.
Referenced by createTimezones(), and createVEVENT().
|
protected |
Definition at line 231 of file class.ilCalendarExport.php.
References ilCalendarRecurrences\_getRecurrences(), and ilCalendarEntry\getEntryId().
Referenced by addCategories().
ilCalendarExport::setAppointments | ( | $a_apps | ) |
Definition at line 96 of file class.ilCalendarExport.php.
ilCalendarExport::setCalendarIds | ( | array | $a_cal_ids | ) |
int[] | $a_cal_ids |
Definition at line 109 of file class.ilCalendarExport.php.
ilCalendarExport::setExportType | ( | int | $a_type | ) |
Definition at line 122 of file class.ilCalendarExport.php.
|
protected |
Definition at line 66 of file class.ilCalendarExport.php.
Referenced by getAppointments().
|
protected |
Definition at line 58 of file class.ilCalendarExport.php.
Referenced by getCalendarIds().
|
protected |
Definition at line 46 of file class.ilCalendarExport.php.
Referenced by getExportType().
|
protected |
Definition at line 54 of file class.ilCalendarExport.php.
|
protected |
Definition at line 74 of file class.ilCalendarExport.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilCalendarExport.php.
|
protected |
Definition at line 70 of file class.ilCalendarExport.php.
|
protected |
Definition at line 62 of file class.ilCalendarExport.php.
Referenced by getUserSettings().
|
protected |
Definition at line 39 of file class.ilCalendarExport.php.
const ilCalendarExport::EXPORT_APPOINTMENTS = 2 |
Definition at line 41 of file class.ilCalendarExport.php.
Referenced by ilCalendarMailNotification\addAttachment(), and export().
const ilCalendarExport::EXPORT_CALENDARS = 1 |
Definition at line 40 of file class.ilCalendarExport.php.
Referenced by export().