|
ILIAS
Release_5_0_x_branch Revision 61816
|
Collaboration diagram for ilCalendarUserSettings:Public Member Functions | |
| getTimeZone () | |
| get Time zone | |
| setTimeZone ($a_tz) | |
| set timezone | |
| getExportTimeZoneType () | |
| Get export timezone setting. | |
| setExportTimeZoneType ($a_type) | |
| Set export timezone type. | |
| getExportTimeZone () | |
| Get export timezone. | |
| setWeekStart ($a_weekstart) | |
| set week start | |
| getWeekStart () | |
| get weekstart | |
| setDayStart ($a_start) | |
| Set start of day. | |
| getDayStart () | |
| get start of day | |
| setDayEnd ($a_end) | |
| Set day end. | |
| getDayEnd () | |
| Get end of day. | |
| setDateFormat ($a_format) | |
| set date format | |
| getDateFormat () | |
| get date format | |
| setTimeFormat ($a_format) | |
| set time format | |
| getTimeFormat () | |
| get time format | |
| getCalendarSelectionType () | |
| get calendar selection type ("MyMembership" or "Selected Items") | |
| setCalendarSelectionType ($a_type) | |
| set calendar selection type | |
| save () | |
| save | |
Static Public Member Functions | |
| static | _getInstanceByUserId ($a_user_id) |
| get singleton instance | |
| static | _getInstance () |
| get instance for logged in user | |
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 | $instances = array() |
Protected Member Functions | |
| read () | |
| read | |
Protected Attributes | |
| $user | |
| $settings | |
Private Member Functions | |
| __construct ($a_user_id) | |
| Constructor. | |
Private Attributes | |
| $calendar_selection_type = 1 | |
| $timezone | |
| $export_tz_type = self::CAL_EXPORT_TZ_TZ | |
| $weekstart | |
| $time_format | |
| $date_format | |
| $day_start | |
| $day_end | |
Definition at line 11 of file class.ilCalendarUserSettings.php.
|
private |
Constructor.
private
| @return |
Definition at line 41 of file class.ilCalendarUserSettings.php.
References $ilUser, _getInstance(), ilObjectFactory\getInstanceByObjId(), and read().
Here is the call graph for this function:
|
static |
get instance for logged in user
Definition at line 80 of file class.ilCalendarUserSettings.php.
References $ilUser, and _getInstanceByUserId().
Referenced by __construct(), ilCalendarPresentationGUI\__construct(), ilCalendarCategoryGUI\appendCalendarSelection(), ilCalendarSelectionBlockGUI\ilCalendarSelectionBlockGUI(), ilPDCalendarBlockGUI\initCategories(), ilCalendarCategories\initialize(), ilBirthdayInputGUI\render(), ilDateTimeInputGUI\render(), ilDateDurationInputGUI\render(), and ilCalendarCategoryGUI\switchCalendarMode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get singleton instance
public
| int | user id |
Definition at line 65 of file class.ilCalendarUserSettings.php.
Referenced by ilMiniCalendarGUI\__construct(), ilCalendarExport\__construct(), ilCalendarUserSettingsGUI\__construct(), ilCalendarInboxGUI\__construct(), ilCalendarDayGUI\__construct(), ilCalendarWeekGUI\__construct(), ilRecurrenceInputGUI\__construct(), ilCalendarMonthGUI\__construct(), ilCalendarSchedule\__construct(), _getInstance(), ilObjBookingPoolGUI\buildDatesBySchedule(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilObjBookingPoolGUI\renderSlots(), ilPersonalSettingsGUI\saveGeneralSettings(), and ilCalendarRecurrence\toICal().
Here is the caller graph for this function:| ilCalendarUserSettings::getCalendarSelectionType | ( | ) |
get calendar selection type ("MyMembership" or "Selected Items")
Definition at line 261 of file class.ilCalendarUserSettings.php.
References $calendar_selection_type.
Referenced by save().
Here is the caller graph for this function:| ilCalendarUserSettings::getDateFormat | ( | ) |
get date format
public
Definition at line 227 of file class.ilCalendarUserSettings.php.
References $date_format.
Referenced by save().
Here is the caller graph for this function:| ilCalendarUserSettings::getDayEnd | ( | ) |
Get end of day.
Definition at line 204 of file class.ilCalendarUserSettings.php.
References $day_end.
Referenced by save().
Here is the caller graph for this function:| ilCalendarUserSettings::getDayStart | ( | ) |
get start of day
Definition at line 185 of file class.ilCalendarUserSettings.php.
References $day_start.
Referenced by save().
Here is the caller graph for this function:| ilCalendarUserSettings::getExportTimeZone | ( | ) |
Get export timezone.
Definition at line 133 of file class.ilCalendarUserSettings.php.
References getExportTimeZoneType(), getTimeZone(), and ilTimeZone\UTC.
Here is the call graph for this function:| ilCalendarUserSettings::getExportTimeZoneType | ( | ) |
Get export timezone setting.
Definition at line 115 of file class.ilCalendarUserSettings.php.
References $export_tz_type.
Referenced by getExportTimeZone(), and save().
Here is the caller graph for this function:| ilCalendarUserSettings::getTimeFormat | ( | ) |
get time format
public
Definition at line 250 of file class.ilCalendarUserSettings.php.
References $time_format.
Referenced by save().
Here is the caller graph for this function:| ilCalendarUserSettings::getTimeZone | ( | ) |
get Time zone
public
| @return |
Definition at line 94 of file class.ilCalendarUserSettings.php.
References $timezone.
Referenced by getExportTimeZone(), and save().
Here is the caller graph for this function:| ilCalendarUserSettings::getWeekStart | ( | ) |
get weekstart
public
Definition at line 166 of file class.ilCalendarUserSettings.php.
References $weekstart.
Referenced by save().
Here is the caller graph for this function:
|
protected |
read
protected
Definition at line 299 of file class.ilCalendarUserSettings.php.
References $export_tz_type, $weekstart, CAL_SELECTION_MEMBERSHIP, ilCalendarSettings\DEFAULT_DAY_END, ilCalendarSettings\DEFAULT_DAY_START, setDayEnd(), and setDayStart().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarUserSettings::save | ( | ) |
save
public
Definition at line 281 of file class.ilCalendarUserSettings.php.
References getCalendarSelectionType(), getDateFormat(), getDayEnd(), getDayStart(), getExportTimeZoneType(), getTimeFormat(), getTimeZone(), and getWeekStart().
Here is the call graph for this function:| ilCalendarUserSettings::setCalendarSelectionType | ( | $a_type | ) |
set calendar selection type
| int | $type | self::CAL_SELECTION_MEMBERSHIP | self::CAL_SELECTION_ITEM |
Definition at line 271 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setDateFormat | ( | $a_format | ) |
set date format
public
| int | date |
Definition at line 216 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setDayEnd | ( | $a_end | ) |
Set day end.
| int | $a_end |
Definition at line 195 of file class.ilCalendarUserSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarUserSettings::setDayStart | ( | $a_start | ) |
Set start of day.
| int | $a_start |
Definition at line 176 of file class.ilCalendarUserSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarUserSettings::setExportTimeZoneType | ( | $a_type | ) |
Set export timezone type.
| type | $a_type |
Definition at line 124 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setTimeFormat | ( | $a_format | ) |
set time format
public
| int | time |
Definition at line 239 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setTimeZone | ( | $a_tz | ) |
set timezone
public
| @return |
Definition at line 106 of file class.ilCalendarUserSettings.php.
| ilCalendarUserSettings::setWeekStart | ( | $a_weekstart | ) |
set week start
public
| @return |
Definition at line 155 of file class.ilCalendarUserSettings.php.
|
private |
Definition at line 24 of file class.ilCalendarUserSettings.php.
Referenced by getCalendarSelectionType().
|
private |
Definition at line 29 of file class.ilCalendarUserSettings.php.
Referenced by getDateFormat().
|
private |
Definition at line 32 of file class.ilCalendarUserSettings.php.
Referenced by getDayEnd().
|
private |
Definition at line 31 of file class.ilCalendarUserSettings.php.
Referenced by getDayStart().
|
private |
Definition at line 26 of file class.ilCalendarUserSettings.php.
Referenced by getExportTimeZoneType(), and read().
|
static |
Definition at line 19 of file class.ilCalendarUserSettings.php.
|
protected |
Definition at line 22 of file class.ilCalendarUserSettings.php.
|
private |
Definition at line 28 of file class.ilCalendarUserSettings.php.
Referenced by getTimeFormat().
|
private |
Definition at line 25 of file class.ilCalendarUserSettings.php.
Referenced by getTimeZone().
|
protected |
Definition at line 21 of file class.ilCalendarUserSettings.php.
|
private |
Definition at line 27 of file class.ilCalendarUserSettings.php.
Referenced by getWeekStart(), and read().
| const ilCalendarUserSettings::CAL_EXPORT_TZ_TZ = 1 |
Definition at line 16 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarUserSettingsGUI\initSettingsForm().
| const ilCalendarUserSettings::CAL_EXPORT_TZ_UTC = 2 |
Definition at line 17 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarExport\addTimezone(), ilCalendarExport\createVEVENT(), and ilCalendarUserSettingsGUI\initSettingsForm().
| const ilCalendarUserSettings::CAL_SELECTION_ITEMS = 2 |
Definition at line 14 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarCategoryGUI\appendCalendarSelection(), and ilCalendarSelectionBlockGUI\ilCalendarSelectionBlockGUI().
| const ilCalendarUserSettings::CAL_SELECTION_MEMBERSHIP = 1 |
Definition at line 13 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarPresentationGUI\__construct(), ilCalendarCategoryGUI\appendCalendarSelection(), ilCalendarSelectionBlockGUI\ilCalendarSelectionBlockGUI(), ilPDCalendarBlockGUI\initCategories(), ilCalendarCategories\initialize(), and read().