| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 | 
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(), ilCalendarEntry\getStart(), 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 325 of file class.ilCalendarExport.php.
References ilObject\_getAllReferences(), 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().
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 304 of file class.ilCalendarExport.php.
References ilCalendarRecurrences\_getRecurrences(), ilCalendarEntry\getEntryId(), 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 239 of file class.ilCalendarExport.php.
References buildAppointmentUrl(), ilCalendarUserSettings\CAL_EXPORT_TZ_UTC, CLIENT_ID, createRecurrences(), ilICalWriter\escapeText(), ilCalendarEntry\getDescription(), ilCalendarEntry\getEnd(), ilCalendarEntry\getEntryId(), ilCalendarEntry\getLastUpdate(), ilCalendarEntry\getLocation(), ilCalendarEntry\getPresentationTitle(), ilCalendarEntry\getStart(), getUserSettings(), IL_CAL_DAY, IL_CAL_FKT_DATE, IL_CAL_UNIX, ilCalendarEntry\isFullday(), 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 234 of file class.ilCalendarExport.php.
| ilCalendarExport::export | ( | ) | 
Definition at line 111 of file class.ilCalendarExport.php.
References addAppointments(), addCategories(), createTimezones(), and getExportType().
Referenced by ilCalendarRemoteAccessHandler\handleRequest().
 Here is the call graph for this function:
 Here is the caller 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 | ( | ) | 
| ilCalendarExport::getExportString | ( | ) | 
Definition at line 320 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().
| const ilCalendarExport::EXPORT_CALENDARS = 1 | 
Definition at line 28 of file class.ilCalendarExport.php.