| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilCalendarUserSettings:Public Member Functions | |
| getTimeZone () | |
| setTimeZone (string $a_tz) | |
| getExportTimeZoneType () | |
| setExportTimeZoneType (int $a_type) | |
| getExportTimeZone () | |
| setWeekStart (int $a_weekstart) | |
| getWeekStart () | |
| setDayStart (int $a_start) | |
| getDayStart () | |
| setDayEnd (int $a_end) | |
| getDayEnd () | |
| setDateFormat (int $a_format) | |
| getDateFormat () | |
| setTimeFormat (int $a_format) | |
| getTimeFormat () | |
| getCalendarSelectionType () | |
| get calendar selection type ("MyMembership" or "Selected Items")  More... | |
| setCalendarSelectionType (int $a_type) | |
| set calendar selection type  More... | |
| setShowWeeks (bool $a_val) | |
| getShowWeeks () | |
| save () | |
Static Public Member Functions | |
| static | _getInstanceByUserId (int $a_user_id) | 
| static | _getInstance () | 
Data Fields | |
| const | CAL_SELECTION_MEMBERSHIP = 1 | 
| const | CAL_SELECTION_ITEMS = 2 | 
| const | CAL_EXPORT_TZ_TZ = 1 | 
| const | CAL_EXPORT_TZ_UTC = 2 | 
Static Public Attributes | |
| static array | $instances = array() | 
Protected Member Functions | |
| read () | |
| translateDateFormatToId (DateFormat $format) | |
Protected Attributes | |
| ilObjUser | $user | 
| ilCalendarSettings | $settings | 
Private Member Functions | |
| __construct (int $a_user_id) | |
Private Attributes | |
| int | $calendar_selection_type = 1 | 
| string | $timezone = ilTimeZone::UTC | 
| int | $export_tz_type = self::CAL_EXPORT_TZ_TZ | 
| int | $weekstart = 0 | 
| int | $time_format = 0 | 
| int | $date_format = 0 | 
| int | $day_start = 0 | 
| int | $day_end = 0 | 
| bool | $show_weeks = true | 
Definition at line 27 of file class.ilCalendarUserSettings.php.
      
  | 
  private | 
Definition at line 51 of file class.ilCalendarUserSettings.php.
References $DIC, $user, ilCalendarSettings\_getInstance(), ilObjectFactory\getInstanceByObjId(), read(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 77 of file class.ilCalendarUserSettings.php.
References $DIC.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilCalendarPresentationGUI\__construct(), ilCalendarCategoryGUI\appendCalendarSelection(), ilCalendarSelectionBlockGUI\getCalendars(), ilPDCalendarBlockGUI\initCategories(), ilCalendarCategories\initialize(), and ilCalendarCategoryGUI\switchCalendarMode().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 69 of file class.ilCalendarUserSettings.php.
Referenced by ilMiniCalendarGUI\__construct(), ilCalendarUserSettingsGUI\__construct(), ilRecurrenceInputGUI\__construct(), ilCalendarHeaderNavigationGUI\__construct(), ilCalendarExport\__construct(), ilCalendarSchedule\__construct(), ilCalendarBlockGUI\__construct(), ilBookingProcessWithScheduleGUI\book(), ilCalendarViewGUI\getBucketTitle(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilCalendarDayGUI\initialize(), ilCalendarMonthGUI\initialize(), ilCalendarInboxGUI\initialize(), ilCalendarWeekGUI\initialize(), ilPersonalSettingsGUI\saveGeneralSettings(), ilCalendarRecurrence\toICal(), and ilBookingProcessWithScheduleGUI\week().
 Here is the caller graph for this function:| ilCalendarUserSettings::getCalendarSelectionType | ( | ) | 
get calendar selection type ("MyMembership" or "Selected Items")
Definition at line 171 of file class.ilCalendarUserSettings.php.
References $calendar_selection_type.
Referenced by save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getDateFormat | ( | ) | 
Definition at line 152 of file class.ilCalendarUserSettings.php.
References $date_format.
Referenced by save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getDayEnd | ( | ) | 
Definition at line 142 of file class.ilCalendarUserSettings.php.
References $day_end.
Referenced by save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getDayStart | ( | ) | 
Definition at line 132 of file class.ilCalendarUserSettings.php.
References $day_start.
Referenced by save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getExportTimeZone | ( | ) | 
Definition at line 105 of file class.ilCalendarUserSettings.php.
References getExportTimeZoneType(), getTimeZone(), and ilTimeZone\UTC.
 Here is the call graph for this function:| ilCalendarUserSettings::getExportTimeZoneType | ( | ) | 
Definition at line 95 of file class.ilCalendarUserSettings.php.
References $export_tz_type.
Referenced by getExportTimeZone(), and save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getShowWeeks | ( | ) | 
Definition at line 191 of file class.ilCalendarUserSettings.php.
References $show_weeks.
Referenced by save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getTimeFormat | ( | ) | 
Definition at line 162 of file class.ilCalendarUserSettings.php.
References $time_format.
Referenced by save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getTimeZone | ( | ) | 
Definition at line 85 of file class.ilCalendarUserSettings.php.
References $timezone.
Referenced by getExportTimeZone(), and save().
 Here is the caller graph for this function:| ilCalendarUserSettings::getWeekStart | ( | ) | 
Definition at line 122 of file class.ilCalendarUserSettings.php.
References $weekstart.
Referenced by save().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 209 of file class.ilCalendarUserSettings.php.
References $export_tz_type, ILIAS\Repository\int(), setDayEnd(), setDayStart(), setShowWeeks(), ILIAS\Repository\settings(), translateDateFormatToId(), and ILIAS\Repository\user().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarUserSettings::save | ( | ) | 
Definition at line 196 of file class.ilCalendarUserSettings.php.
References getCalendarSelectionType(), getDateFormat(), getDayEnd(), getDayStart(), getExportTimeZoneType(), getShowWeeks(), getTimeFormat(), getTimeZone(), getWeekStart(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilCalendarUserSettings::setCalendarSelectionType | ( | int | $a_type | ) | 
set calendar selection type
| int | $type | self::CAL_SELECTION_MEMBERSHIP | self::CAL_SELECTION_ITEM | 
Definition at line 181 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setDateFormat | ( | int | $a_format | ) | 
Definition at line 147 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setDayEnd | ( | int | $a_end | ) | 
Definition at line 137 of file class.ilCalendarUserSettings.php.
Referenced by read().
 Here is the caller graph for this function:| ilCalendarUserSettings::setDayStart | ( | int | $a_start | ) | 
Definition at line 127 of file class.ilCalendarUserSettings.php.
Referenced by read().
 Here is the caller graph for this function:| ilCalendarUserSettings::setExportTimeZoneType | ( | int | $a_type | ) | 
Definition at line 100 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setShowWeeks | ( | bool | $a_val | ) | 
Definition at line 186 of file class.ilCalendarUserSettings.php.
Referenced by read().
 Here is the caller graph for this function:| ilCalendarUserSettings::setTimeFormat | ( | int | $a_format | ) | 
Definition at line 157 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setTimeZone | ( | string | $a_tz | ) | 
Definition at line 90 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setWeekStart | ( | int | $a_weekstart | ) | 
Definition at line 117 of file class.ilCalendarUserSettings.php.
      
  | 
  protected | 
Definition at line 250 of file class.ilCalendarUserSettings.php.
References ilCalendarSettings\DATE_FORMAT_DMY, ilCalendarSettings\DATE_FORMAT_MDY, and ilCalendarSettings\DATE_FORMAT_YMD.
Referenced by read().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 40 of file class.ilCalendarUserSettings.php.
Referenced by getCalendarSelectionType().
      
  | 
  private | 
Definition at line 45 of file class.ilCalendarUserSettings.php.
Referenced by getDateFormat().
      
  | 
  private | 
Definition at line 48 of file class.ilCalendarUserSettings.php.
Referenced by getDayEnd().
      
  | 
  private | 
Definition at line 47 of file class.ilCalendarUserSettings.php.
Referenced by getDayStart().
      
  | 
  private | 
Definition at line 42 of file class.ilCalendarUserSettings.php.
Referenced by getExportTimeZoneType(), and read().
      
  | 
  static | 
Definition at line 35 of file class.ilCalendarUserSettings.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilCalendarUserSettings.php.
      
  | 
  private | 
Definition at line 49 of file class.ilCalendarUserSettings.php.
Referenced by getShowWeeks().
      
  | 
  private | 
Definition at line 44 of file class.ilCalendarUserSettings.php.
Referenced by getTimeFormat().
      
  | 
  private | 
Definition at line 41 of file class.ilCalendarUserSettings.php.
Referenced by getTimeZone().
      
  | 
  protected | 
Definition at line 37 of file class.ilCalendarUserSettings.php.
Referenced by __construct().
      
  | 
  private | 
Definition at line 43 of file class.ilCalendarUserSettings.php.
Referenced by getWeekStart().
| const ilCalendarUserSettings::CAL_EXPORT_TZ_TZ = 1 | 
Definition at line 32 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarUserSettingsGUI\initSettingsForm().
| const ilCalendarUserSettings::CAL_EXPORT_TZ_UTC = 2 | 
Definition at line 33 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarExport\createTimezones(), ilCalendarExport\createVEVENT(), and ilCalendarUserSettingsGUI\initSettingsForm().
| const ilCalendarUserSettings::CAL_SELECTION_ITEMS = 2 | 
Definition at line 30 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarSelectionBlockGUI\__construct(), and ilCalendarCategoryGUI\appendCalendarSelection().
| const ilCalendarUserSettings::CAL_SELECTION_MEMBERSHIP = 1 | 
Definition at line 29 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilCalendarPresentationGUI\__construct(), ilCalendarCategoryGUI\appendCalendarSelection(), ilCalendarSelectionBlockGUI\getCalendars(), ilPDCalendarBlockGUI\initCategories(), and ilCalendarCategories\initialize().