ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
getTimeZone () | |
get Time zone More... | |
setTimeZone ($a_tz) | |
set timezone More... | |
getExportTimeZoneType () | |
Get export timezone setting. More... | |
setExportTimeZoneType ($a_type) | |
Set export timezone type. More... | |
getExportTimeZone () | |
Get export timezone. More... | |
setWeekStart ($a_weekstart) | |
set week start More... | |
getWeekStart () | |
get weekstart More... | |
setDayStart ($a_start) | |
Set start of day. More... | |
getDayStart () | |
get start of day More... | |
setDayEnd ($a_end) | |
Set day end. More... | |
getDayEnd () | |
Get end of day. More... | |
setDateFormat ($a_format) | |
set date format More... | |
getDateFormat () | |
get date format More... | |
setTimeFormat ($a_format) | |
set time format More... | |
getTimeFormat () | |
get time format More... | |
getCalendarSelectionType () | |
get calendar selection type ("MyMembership" or "Selected Items") More... | |
setCalendarSelectionType ($a_type) | |
set calendar selection type More... | |
setShowWeeks ($a_val) | |
Set show weeks. More... | |
getShowWeeks () | |
Get show weeks. More... | |
save () | |
save More... | |
Static Public Member Functions | |
static | _getInstanceByUserId ($a_user_id) |
get singleton instance More... | |
static | _getInstance () |
get instance for logged in user More... | |
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 More... | |
Protected Attributes | |
$user | |
$settings | |
Private Member Functions | |
__construct ($a_user_id) | |
Constructor. More... | |
Private Attributes | |
$calendar_selection_type = 1 | |
$timezone | |
$export_tz_type = self::CAL_EXPORT_TZ_TZ | |
$weekstart | |
$time_format | |
$date_format | |
$day_start | |
$day_end | |
$show_weeks = true | |
Definition at line 11 of file class.ilCalendarUserSettings.php.
|
private |
Constructor.
private
Definition at line 46 of file class.ilCalendarUserSettings.php.
References $ilUser, ilCalendarSettings\_getInstance(), ilObjectFactory\getInstanceByObjId(), read(), settings(), and user().
|
static |
get instance for logged in user
Definition at line 81 of file class.ilCalendarUserSettings.php.
References $ilUser.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilCalendarPresentationGUI\__construct(), ilCalendarCategoryGUI\appendCalendarSelection(), ilPDCalendarBlockGUI\initCategories(), ilCalendarCategories\initialize(), and ilCalendarCategoryGUI\switchCalendarMode().
|
static |
get singleton instance
public
int | user id |
Definition at line 67 of file class.ilCalendarUserSettings.php.
Referenced by ilCalendarMonthGUI\__construct(), ilCalendarWeekGUI\__construct(), ilMiniCalendarGUI\__construct(), ilCalendarExport\__construct(), ilCalendarUserSettingsGUI\__construct(), ilCalendarBlockGUI\__construct(), ilCalendarHeaderNavigationGUI\__construct(), ilCalendarInboxGUI\__construct(), ilRecurrenceInputGUI\__construct(), ilCalendarDayGUI\__construct(), ilCalendarSchedule\__construct(), ilObjBookingPoolGUI\buildDatesBySchedule(), ilCalendarViewGUI\getBucketTitle(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilObjBookingPoolGUI\renderSlots(), ilPersonalSettingsGUI\saveGeneralSettings(), and ilCalendarRecurrence\toICal().
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().
ilCalendarUserSettings::getDateFormat | ( | ) |
get date format
public
Definition at line 227 of file class.ilCalendarUserSettings.php.
References $date_format.
Referenced by save().
ilCalendarUserSettings::getDayEnd | ( | ) |
Get end of day.
Definition at line 204 of file class.ilCalendarUserSettings.php.
References $day_end.
Referenced by save().
ilCalendarUserSettings::getDayStart | ( | ) |
get start of day
Definition at line 185 of file class.ilCalendarUserSettings.php.
References $day_start.
Referenced by save().
ilCalendarUserSettings::getExportTimeZone | ( | ) |
Get export timezone.
Definition at line 134 of file class.ilCalendarUserSettings.php.
References getExportTimeZoneType(), getTimeZone(), and ilTimeZone\UTC.
ilCalendarUserSettings::getExportTimeZoneType | ( | ) |
Get export timezone setting.
Definition at line 116 of file class.ilCalendarUserSettings.php.
References $export_tz_type.
Referenced by getExportTimeZone(), and save().
ilCalendarUserSettings::getShowWeeks | ( | ) |
Get show weeks.
Definition at line 291 of file class.ilCalendarUserSettings.php.
References $show_weeks.
Referenced by save().
ilCalendarUserSettings::getTimeFormat | ( | ) |
get time format
public
Definition at line 250 of file class.ilCalendarUserSettings.php.
References $time_format.
Referenced by save().
ilCalendarUserSettings::getTimeZone | ( | ) |
get Time zone
public
Definition at line 95 of file class.ilCalendarUserSettings.php.
References $timezone.
Referenced by getExportTimeZone(), and save().
ilCalendarUserSettings::getWeekStart | ( | ) |
get weekstart
public
Definition at line 166 of file class.ilCalendarUserSettings.php.
References $weekstart.
Referenced by save().
|
protected |
read
protected
Definition at line 320 of file class.ilCalendarUserSettings.php.
References $export_tz_type, $weekstart, setDayEnd(), setDayStart(), setShowWeeks(), settings(), timezone, and user().
Referenced by __construct().
ilCalendarUserSettings::save | ( | ) |
save
public
Definition at line 301 of file class.ilCalendarUserSettings.php.
References getCalendarSelectionType(), getDateFormat(), getDayEnd(), getDayStart(), getExportTimeZoneType(), getShowWeeks(), getTimeFormat(), getTimeZone(), getWeekStart(), and user().
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.
References $a_type.
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().
ilCalendarUserSettings::setDayStart | ( | $a_start | ) |
Set start of day.
int | $a_start |
Definition at line 176 of file class.ilCalendarUserSettings.php.
Referenced by read().
ilCalendarUserSettings::setExportTimeZoneType | ( | $a_type | ) |
Set export timezone type.
type | $a_type |
Definition at line 125 of file class.ilCalendarUserSettings.php.
References $a_type.
ilCalendarUserSettings::setShowWeeks | ( | $a_val | ) |
Set show weeks.
bool | $a_val | show weeks |
Definition at line 281 of file class.ilCalendarUserSettings.php.
Referenced by read().
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
Definition at line 107 of file class.ilCalendarUserSettings.php.
References timezone.
ilCalendarUserSettings::setWeekStart | ( | $a_weekstart | ) |
|
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 37 of file class.ilCalendarUserSettings.php.
Referenced by getShowWeeks().
|
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 ilCalendarSelectionBlockGUI\__construct(), and ilCalendarCategoryGUI\appendCalendarSelection().
const ilCalendarUserSettings::CAL_SELECTION_MEMBERSHIP = 1 |