|
ILIAS
release_8 Revision v8.24
|
@classDescription Export calendar(s) to ical format More...
Collaboration diagram for ilCalendarExport:Public Member Functions | |
| __construct (array $a_calendar_ids=[], bool $is_export_limited=false) | |
| getUserSettings () | |
| setAppointments (array $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 |
| int | $export_type = self::EXPORT_CALENDARS |
| ilObjUser | $il_user |
| array | $calendars = array() |
| ilCalendarUserSettings | $user_settings |
| array | $appointments = array() |
| ilICalWriter | $writer |
| ilICalWriter | $str_writer_export |
| bool | $is_export_limited |
Private Attributes | |
| ilLogger | $logger |
@classDescription Export calendar(s) to ical format
Definition at line 26 of file class.ilCalendarExport.php.
| ilCalendarExport::__construct | ( | array | $a_calendar_ids = [], |
| bool | $is_export_limited = false |
||
| ) |
| int[] | $a_calendar_ids |
Definition at line 53 of file class.ilCalendarExport.php.
References $DIC, $is_export_limited, ilCalendarUserSettings\_getInstanceByUserId(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
Definition at line 219 of file class.ilCalendarExport.php.
References $app, createAppointment(), and getAppointments().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 159 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 329 of file class.ilCalendarExport.php.
References ilObject\_getAllReferences(), ilLink\_getLink(), ilCalendarCategoryAssignments\_lookupCategories(), ilCalendarEntry\getEntryId(), ilCalendarCategory\getInstanceByCategoryId(), and ilCalendarCategory\TYPE_OBJ.
Referenced by createVEVENT().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 229 of file class.ilCalendarExport.php.
References createVEVENT(), createVTODO(), and ilCalendarEntry\isMilestone().
Referenced by addAppointments(), and addCategories().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 308 of file class.ilCalendarExport.php.
References $app, ilCalendarRecurrences\_getRecurrences(), and ilCalendarRecurrenceExclusions\getExclusionDates().
Referenced by createVEVENT().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 139 of file class.ilCalendarExport.php.
References ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, getUserSettings(), and ilCalendarUtil\getZoneInfoFile().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 243 of file class.ilCalendarExport.php.
References $app, buildAppointmentUrl(), ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, CLIENT_ID, createRecurrences(), ilICalWriter\escapeText(), ilCalendarEntry\getEntryId(), getUserSettings(), IL_CAL_DAY, IL_CAL_FKT_DATE, IL_CAL_UNIX, ILIAS\Repository\logger(), and ilTimeZone\UTC.
Referenced by createAppointment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 238 of file class.ilCalendarExport.php.
Referenced by createAppointment().
Here is the caller graph for this function:| ilCalendarExport::export | ( | ) |
Definition at line 111 of file class.ilCalendarExport.php.
References addAppointments(), addCategories(), createTimezones(), EXPORT_APPOINTMENTS, EXPORT_CALENDARS, and getExportType().
Here is the call graph for this function:| ilCalendarExport::getAppointments | ( | ) |
Definition at line 81 of file class.ilCalendarExport.php.
References $appointments.
Referenced by addAppointments().
Here is the caller graph for this function:| ilCalendarExport::getCalendarIds | ( | ) |
Definition at line 97 of file class.ilCalendarExport.php.
References $calendars.
| ilCalendarExport::getExportString | ( | ) |
Definition at line 324 of file class.ilCalendarExport.php.
| ilCalendarExport::getExportType | ( | ) |
Definition at line 106 of file class.ilCalendarExport.php.
References $export_type.
Referenced by export().
Here is the caller graph for this function:| ilCalendarExport::getUserSettings | ( | ) |
Definition at line 65 of file class.ilCalendarExport.php.
References $user_settings.
Referenced by createTimezones(), and createVEVENT().
Here is the caller graph for this function:
|
protected |
Definition at line 214 of file class.ilCalendarExport.php.
References ilCalendarRecurrences\_getRecurrences(), and ilCalendarEntry\getEntryId().
Referenced by addCategories().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarExport::setAppointments | ( | array | $a_apps | ) |
| int[] | $a_apps |
Definition at line 73 of file class.ilCalendarExport.php.
| ilCalendarExport::setCalendarIds | ( | array | $a_cal_ids | ) |
| int[] | $a_cal_ids |
Definition at line 89 of file class.ilCalendarExport.php.
| ilCalendarExport::setExportType | ( | int | $a_type | ) |
Definition at line 102 of file class.ilCalendarExport.php.
|
protected |
Definition at line 40 of file class.ilCalendarExport.php.
Referenced by getAppointments().
|
protected |
Definition at line 38 of file class.ilCalendarExport.php.
Referenced by getCalendarIds().
|
protected |
Definition at line 33 of file class.ilCalendarExport.php.
Referenced by getExportType().
|
protected |
Definition at line 36 of file class.ilCalendarExport.php.
|
protected |
Definition at line 48 of file class.ilCalendarExport.php.
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilCalendarExport.php.
|
protected |
Definition at line 46 of file class.ilCalendarExport.php.
|
protected |
Definition at line 39 of file class.ilCalendarExport.php.
Referenced by getUserSettings().
|
protected |
Definition at line 41 of file class.ilCalendarExport.php.
|
protected |
Definition at line 31 of file class.ilCalendarExport.php.
| const ilCalendarExport::EXPORT_APPOINTMENTS = 2 |
Definition at line 29 of file class.ilCalendarExport.php.
Referenced by ilCalendarMailNotification\addAttachment(), and export().
| const ilCalendarExport::EXPORT_CALENDARS = 1 |
Definition at line 28 of file class.ilCalendarExport.php.
Referenced by export().