ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilCalendarSettings Class Reference

Stores all calendar relevant settings. More...

+ Collaboration diagram for ilCalendarSettings:

Public Member Functions

 useCache ($a_status)
 Enable cache.
 isCacheUsed ()
 Check if cache is used.
 setCacheMinutes ($a_min)
 Set time of cache storage.
 getCacheMinutes ()
 Get cache minutes.
 setEnabled ($a_enabled)
 set enabled
 isEnabled ()
 is calendar enabled
 setDefaultWeekStart ($a_start)
 set week start
 getDefaultWeekStart ()
 get default week start
 setDefaultTimeZone ($a_zone)
 set default timezone
 getDefaultTimeZone ()
 get derfault time zone
 setDefaultDateFormat ($a_format)
 set default date format
 getDefaultDateFormat ()
 get default date format
 setDefaultTimeFormat ($a_format)
 set default time format
 getDefaultTimeFormat ()
 get default time format
 getDefaultDayStart ()
 Get default end of day.
 setDefaultDayStart ($a_start)
 Set default start of day.
 getDefaultDayEnd ()
 Get default end of day.
 setDefaultDayEnd ($a_end)
 set default end of day
 areConsultationHoursEnabled ()
 Check if consultation hours are enabled.
 enableConsultationHours ($a_status)
 En/Disable consultation hours.
 getCalendarSettingsId ()
 Get calendar settings id (Used for permission checks)
 setEnableGroupMilestones ($a_enablegroupmilestones)
 Set Enable milestone planning feature for groups.
 getEnableGroupMilestones ()
 Get Enable milestone planning feature for groups.
 isSynchronisationCacheEnabled ()
 Check if cache is active for calendar synchronisation.
 enableSynchronisationCache ($a_status)
 En/Disable synchronisation cache.
 setSynchronisationCacheMinutes ($a_min)
 Set synchronisation cache minutes.
 getSynchronisationCacheMinutes ()
 get synchronisation cache minutes
 isNotificationEnabled ()
 Course group notification enabled.
 enableNotification ($a_status)
 Enable course group notification.
 isUserNotificationEnabled ()
 enableUserNotification ($a_not)
 enableCGRegistration ($a_status)
 Enable optional registration for courses and groups.
 isCGRegistrationEnabled ()
 enableCourseCalendar ($a_stat)
 isCourseCalendarEnabled ()
 enableGroupCalendar ($a_stat)
 isGroupCalendarEnabled ()
 enableWebCalSync ($a_stat)
 isWebCalSyncEnabled ()
 setWebCalSyncHours ($a_hours)
 getWebCalSyncHours ()
 save ()
 save

Static Public Member Functions

static _getInstance ()
 get singleton instance
static lookupCalendarActivated ($a_obj_id)

Data Fields

const WEEK_START_MONDAY = 1
const WEEK_START_SUNDAY = 0
const DEFAULT_DAY_START = 8
const DEFAULT_DAY_END = 19
const DATE_FORMAT_DMY = 1
const DATE_FORMAT_YMD = 2
const DATE_FORMAT_MDY = 3
const TIME_FORMAT_24 = 1
const TIME_FORMAT_12 = 2
const DEFAULT_CACHE_MINUTES = 0
const DEFAULT_SYNC_CACHE_MINUTES = 10

Private Member Functions

 __construct ()
 singleton contructor
 read ()
 Read settings.
 readCalendarSettingsId ()
 Read ref_id of calendar settings.
 initStorage ()
 Init storage class (ilSetting) private.

Private Attributes

 $db = null
 $storage = null
 $timezone = null
 $time_format = null
 $week_start = 0
 $day_start = null
 $day_end = null
 $enabled = false
 $cal_settings_id = 0
 $consultation_hours = false
 $cache_enabled = true
 $cache_minutes = 1
 $sync_cache_enabled = true
 $sync_cache_minutes = 10
 $notification = false
 $notification_user = false
 $cg_registration = false
 $course_cal_enabled = true
 $group_cal_enabled = true
 $webcal_sync = false
 $webcal_sync_hours = 2

Static Private Attributes

static $instance = null

Detailed Description

Stores all calendar relevant settings.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 35 of file class.ilCalendarSettings.php.

Constructor & Destructor Documentation

ilCalendarSettings::__construct ( )
private

singleton contructor

private

Definition at line 91 of file class.ilCalendarSettings.php.

References initStorage(), read(), and readCalendarSettingsId().

{
global $ilDB;
$this->db = $ilDB;
$this->initStorage();
$this->read();
}

+ Here is the call graph for this function:

Member Function Documentation

static ilCalendarSettings::_getInstance ( )
static

get singleton instance

public

Returns
ilCalendarSettings
ilCalendarSettings

Definition at line 110 of file class.ilCalendarSettings.php.

References $instance.

Referenced by ilCalendarCache\__construct(), ilCalendarUserSettingsGUI\__construct(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilCalendarPresentationGUI\executeCommand(), ilObjUser\getDateFormat(), ilUserUtil\getPossibleStartingPoints(), ilObjUser\getTimeFormat(), ilObjUser\getTimeZone(), ilObjCalendarSettingsGUI\initCalendarSettings(), ilCalendarAppointmentGUI\initForm(), ilCalendarCategoryGUI\initFormCategory(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilColumnGUI\isGloballyActivated(), ilCalendarAuthenticationToken\isIcalExpired(), lookupCalendarActivated(), ilCalendarPresentationGUI\prepareOutput(), ilCalendarCache\readEntry(), ilCalendarCategoryGUI\readPermissions(), ilCalendarCategories\readPublicCalendars(), ilCalendarCategories\readReposCalendars(), ilCalendarCategories\readSelectedCategories(), ilMainMenuGUI\renderDropDown(), ilMainMenuGUI\renderEntry(), ilCalendarAppointmentGUI\save(), ilObjPersonalDesktopSettingsGUI\saveSettings(), ilCalendarDayGUI\show(), ilCalendarMonthGUI\show(), ilCalendarWeekGUI\show(), ilCalendarCache\storeEntry(), ilCalendarCache\storeUnlimitedEntry(), ilCalendarPresentationGUI\synchroniseExternalCalendars(), ilCalendarAppointmentGUI\update(), ilObjectServiceSettingsGUI\updateServiceSettingsForm(), and ilObjectServiceSettingsGUI\updateToolSettings().

{
if(self::$instance)
{
}
return self::$instance = new ilCalendarSettings();
}

+ Here is the caller graph for this function:

ilCalendarSettings::areConsultationHoursEnabled ( )

Check if consultation hours are enabled.

Returns

Definition at line 344 of file class.ilCalendarSettings.php.

References $consultation_hours.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::enableCGRegistration (   $a_status)

Enable optional registration for courses and groups.

Parameters
bool$a_status
Returns

Definition at line 462 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->cg_registration = $a_status;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableConsultationHours (   $a_status)

En/Disable consultation hours.

Returns

Definition at line 353 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->consultation_hours = $a_status;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableCourseCalendar (   $a_stat)

Definition at line 472 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->course_cal_enabled = $a_stat;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableGroupCalendar (   $a_stat)

Definition at line 482 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->group_cal_enabled = $a_stat;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableNotification (   $a_status)

Enable course group notification.

Parameters
bool$a_status
Returns

Definition at line 442 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->notification = $a_status;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableSynchronisationCache (   $a_status)

En/Disable synchronisation cache.

Returns

Definition at line 404 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->sync_cache_enabled = $a_status;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableUserNotification (   $a_not)

Definition at line 452 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->notification_user = $a_not;
}

+ Here is the caller graph for this function:

ilCalendarSettings::enableWebCalSync (   $a_stat)

Definition at line 492 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->webcal_sync = $a_stat;
}

+ Here is the caller graph for this function:

ilCalendarSettings::getCacheMinutes ( )

Get cache minutes.

Returns

Definition at line 187 of file class.ilCalendarSettings.php.

References $cache_minutes.

Referenced by save().

{
return (int) $this->cache_minutes;
}

+ Here is the caller graph for this function:

ilCalendarSettings::getCalendarSettingsId ( )

Get calendar settings id (Used for permission checks)

public

Returns

Definition at line 366 of file class.ilCalendarSettings.php.

References $cal_settings_id.

ilCalendarSettings::getDefaultDateFormat ( )

get default date format

public

Returns
int date format

Definition at line 274 of file class.ilCalendarSettings.php.

Referenced by save().

{
return $this->date_format;
}

+ Here is the caller graph for this function:

ilCalendarSettings::getDefaultDayEnd ( )

Get default end of day.

Returns

Definition at line 325 of file class.ilCalendarSettings.php.

References $day_end.

Referenced by save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::getDefaultDayStart ( )

Get default end of day.

Returns

Definition at line 306 of file class.ilCalendarSettings.php.

References $day_start.

Referenced by save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::getDefaultTimeFormat ( )

get default time format

public

Returns
int time format

Definition at line 297 of file class.ilCalendarSettings.php.

References $time_format.

Referenced by save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::getDefaultTimeZone ( )

get derfault time zone

public

Definition at line 251 of file class.ilCalendarSettings.php.

References $timezone.

Referenced by save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::getDefaultWeekStart ( )

get default week start

public

Definition at line 231 of file class.ilCalendarSettings.php.

References $week_start.

Referenced by save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::getEnableGroupMilestones ( )

Get Enable milestone planning feature for groups.

Returns
boolean Enable milestone planning feature for groups

Definition at line 386 of file class.ilCalendarSettings.php.

Referenced by save().

{
return $this->enablegroupmilestones;
}

+ Here is the caller graph for this function:

ilCalendarSettings::getSynchronisationCacheMinutes ( )

get synchronisation cache minutes

Returns

Definition at line 423 of file class.ilCalendarSettings.php.

References $sync_cache_minutes.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::getWebCalSyncHours ( )

Definition at line 507 of file class.ilCalendarSettings.php.

References $webcal_sync_hours.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::initStorage ( )
private

Init storage class (ilSetting) private.

Definition at line 599 of file class.ilCalendarSettings.php.

Referenced by __construct().

{
include_once('./Services/Administration/classes/class.ilSetting.php');
$this->storage = new ilSetting('calendar');
}

+ Here is the caller graph for this function:

ilCalendarSettings::isCacheUsed ( )

Check if cache is used.

Returns

Definition at line 168 of file class.ilCalendarSettings.php.

References $cache_enabled.

Referenced by save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::isCGRegistrationEnabled ( )

Definition at line 467 of file class.ilCalendarSettings.php.

References $cg_registration.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::isCourseCalendarEnabled ( )

Definition at line 477 of file class.ilCalendarSettings.php.

References $course_cal_enabled.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::isEnabled ( )

is calendar enabled

public

Definition at line 209 of file class.ilCalendarSettings.php.

References $enabled.

Referenced by lookupCalendarActivated(), and save().

{
return (bool) $this->enabled;
}

+ Here is the caller graph for this function:

ilCalendarSettings::isGroupCalendarEnabled ( )

Definition at line 487 of file class.ilCalendarSettings.php.

References $group_cal_enabled.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::isNotificationEnabled ( )

Course group notification enabled.

Returns

Definition at line 432 of file class.ilCalendarSettings.php.

References $notification.

Referenced by save().

{
return (bool) $this->notification;
}

+ Here is the caller graph for this function:

ilCalendarSettings::isSynchronisationCacheEnabled ( )

Check if cache is active for calendar synchronisation.

Returns

Definition at line 395 of file class.ilCalendarSettings.php.

References $sync_cache_enabled.

Referenced by read(), and save().

{
}

+ Here is the caller graph for this function:

ilCalendarSettings::isUserNotificationEnabled ( )

Definition at line 447 of file class.ilCalendarSettings.php.

References $notification_user.

Referenced by save().

+ Here is the caller graph for this function:

ilCalendarSettings::isWebCalSyncEnabled ( )

Definition at line 497 of file class.ilCalendarSettings.php.

References $webcal_sync.

Referenced by save().

{
}

+ Here is the caller graph for this function:

static ilCalendarSettings::lookupCalendarActivated (   $a_obj_id)
static
Parameters
type$a_obj_id

Definition at line 123 of file class.ilCalendarSettings.php.

References _getInstance(), ilContainer\_lookupContainerSetting(), ilObject\_lookupType(), and isEnabled().

Referenced by ilObjectServiceSettingsGUI\initServiceSettingsForm(), and ilColumnGUI\isGloballyActivated().

{
{
return false;
}
$type = ilObject::_lookupType($a_obj_id);
// lookup global setting
$gl_activated = false;
switch($type)
{
case 'crs':
$gl_activated = ilCalendarSettings::_getInstance()->isCourseCalendarEnabled();
break;
case 'grp':
$gl_activated = ilCalendarSettings::_getInstance()->isGroupCalendarEnabled();
break;
default:
return false;
}
// look individual object setting
include_once './Services/Container/classes/class.ilContainer.php';
$a_obj_id,
'cont_show_calendar',
$gl_activated
);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilCalendarSettings::read ( )
private

Read settings.

private

Parameters

Definition at line 548 of file class.ilCalendarSettings.php.

References $cache_enabled, ilTimeZone\_getDefaultTimeZone(), enableCGRegistration(), enableConsultationHours(), enableCourseCalendar(), enableGroupCalendar(), enableNotification(), enableSynchronisationCache(), enableUserNotification(), enableWebCalSync(), isSynchronisationCacheEnabled(), setCacheMinutes(), setDefaultDateFormat(), setDefaultDayEnd(), setDefaultDayStart(), setDefaultTimeFormat(), setDefaultTimeZone(), setDefaultWeekStart(), setEnabled(), setEnableGroupMilestones(), setSynchronisationCacheMinutes(), setWebCalSyncHours(), and useCache().

Referenced by __construct().

{
$this->setEnabled($this->storage->get('enabled'));
$this->setDefaultTimeZone($this->storage->get('default_timezone',ilTimeZone::_getDefaultTimeZone()));
$this->setDefaultWeekStart($this->storage->get('default_week_start',self::WEEK_START_MONDAY));
$this->setDefaultDateFormat($this->storage->get('default_date_format',self::DATE_FORMAT_DMY));
$this->setDefaultTimeFormat($this->storage->get('default_time_format',self::TIME_FORMAT_24));
$this->setEnableGroupMilestones($this->storage->get('enable_grp_milestones'));
$this->setDefaultDayStart($this->storage->get('default_day_start',self::DEFAULT_DAY_START));
$this->setDefaultDayEnd($this->storage->get('default_day_end',self::DEFAULT_DAY_END));
$this->useCache($this->storage->get('cache_enabled'),$this->cache_enabled);
$this->setCacheMinutes($this->storage->get('cache_minutes',self::DEFAULT_CACHE_MINUTES));
$this->enableSynchronisationCache($this->storage->get('sync_cache_enabled'),$this->isSynchronisationCacheEnabled());
$this->setSynchronisationCacheMinutes($this->storage->get('sync_cache_minutes',self::DEFAULT_SYNC_CACHE_MINUTES));
$this->enableNotification($this->storage->get('notification',$this->isNotificationEnabled()));
$this->enableConsultationHours($this->storage->get('consultation_hours',$this->areConsultationHoursEnabled()));
$this->enableCGRegistration($this->storage->get('cg_registration',$this->isCGRegistrationEnabled()));
$this->enableCourseCalendar($this->storage->get('course_cal',$this->isCourseCalendarEnabled()));
$this->enableGroupCalendar($this->storage->get('group_cal',$this->isGroupCalendarEnabled()));
$this->enableUserNotification($this->storage->get('notification_user',$this->isUserNotificationEnabled()));
$this->enableWebCalSync($this->storage->get('webcal_sync',$this->isWebCalSyncEnabled()));
$this->setWebCalSyncHours($this->storage->get('webcal_sync_hours',$this->getWebCalSyncHours()));
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilCalendarSettings::readCalendarSettingsId ( )
private

Read ref_id of calendar settings.

private

Parameters
@return

Definition at line 579 of file class.ilCalendarSettings.php.

References $query, $res, and $row.

Referenced by __construct().

{
global $ilDB;
$query = "SELECT ref_id FROM object_reference obr ".
"JOIN object_data obd ON obd.obj_id = obr.obj_id ".
"WHERE type = 'cals'";
$res = $this->db->query($query);
$row = $res->fetchRow();
$this->cal_settings_id = $row[0];
return true;
}

+ Here is the caller graph for this function:

ilCalendarSettings::save ( )

save

public

Definition at line 517 of file class.ilCalendarSettings.php.

References areConsultationHoursEnabled(), getCacheMinutes(), getDefaultDateFormat(), getDefaultDayEnd(), getDefaultDayStart(), getDefaultTimeFormat(), getDefaultTimeZone(), getDefaultWeekStart(), getEnableGroupMilestones(), getSynchronisationCacheMinutes(), getWebCalSyncHours(), isCacheUsed(), isCGRegistrationEnabled(), isCourseCalendarEnabled(), isEnabled(), isGroupCalendarEnabled(), isNotificationEnabled(), isSynchronisationCacheEnabled(), isUserNotificationEnabled(), and isWebCalSyncEnabled().

{
$this->storage->set('enabled',(int) $this->isEnabled());
$this->storage->set('default_timezone',$this->getDefaultTimeZone());
$this->storage->set('default_week_start',$this->getDefaultWeekStart());
$this->storage->set('default_date_format',$this->getDefaultDateFormat());
$this->storage->set('default_time_format',$this->getDefaultTimeFormat());
$this->storage->set('enable_grp_milestones',(int) $this->getEnableGroupMilestones());
$this->storage->set('default_day_start',(int) $this->getDefaultDayStart());
$this->storage->set('default_day_end',(int) $this->getDefaultDayEnd());
$this->storage->set('cache_minutes',(int) $this->getCacheMinutes());
$this->storage->set('sync_cache_enabled',(int) $this->isSynchronisationCacheEnabled());
$this->storage->set('sync_cache_minutes',(int) $this->getSynchronisationCacheMinutes());
$this->storage->set('cache_enabled',(int) $this->isCacheUsed());
$this->storage->set('notification',(int) $this->isNotificationEnabled());
$this->storage->set('consultation_hours',(int) $this->areConsultationHoursEnabled());
$this->storage->set('cg_registration',(int) $this->isCGRegistrationEnabled());
$this->storage->set('course_cal',(int) $this->isCourseCalendarEnabled());
$this->storage->set('group_cal',(int) $this->isGroupCalendarEnabled());
$this->storage->set('notification_user',(int) $this->isUserNotificationEnabled());
$this->storage->set('webcal_sync',(int) $this->isWebCalSyncEnabled());
$this->storage->set('webcal_sync_hours',(int) $this->getWebCalSyncHours());
}

+ Here is the call graph for this function:

ilCalendarSettings::setCacheMinutes (   $a_min)

Set time of cache storage.

Parameters
int$a_min
Returns

Definition at line 178 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->cache_minutes = $a_min;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setDefaultDateFormat (   $a_format)

set default date format

public

Parameters
intdate format
Returns

Definition at line 263 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->date_format = $a_format;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setDefaultDayEnd (   $a_end)

set default end of day

Returns
Parameters
object$a_end

Definition at line 335 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->day_end = $a_end;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setDefaultDayStart (   $a_start)

Set default start of day.

Returns
Parameters
object$a_start

Definition at line 316 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->day_start = $a_start;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setDefaultTimeFormat (   $a_format)

set default time format

public

Parameters
inttime format
Returns

Definition at line 286 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->time_format = $a_format;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setDefaultTimeZone (   $a_zone)

set default timezone

public

Definition at line 241 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->timezone = $a_zone;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setDefaultWeekStart (   $a_start)

set week start

public

Definition at line 220 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->week_start = $a_start;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setEnabled (   $a_enabled)

set enabled

public

Definition at line 198 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->enabled = $a_enabled;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setEnableGroupMilestones (   $a_enablegroupmilestones)

Set Enable milestone planning feature for groups.

Parameters
boolean$a_enablegroupmilestonesEnable milestone planning feature for groups

Definition at line 376 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->enablegroupmilestones = $a_enablegroupmilestones;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setSynchronisationCacheMinutes (   $a_min)

Set synchronisation cache minutes.

Parameters
object$a_min
Returns

Definition at line 414 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->sync_cache_minutes = $a_min;
}

+ Here is the caller graph for this function:

ilCalendarSettings::setWebCalSyncHours (   $a_hours)

Definition at line 502 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->webcal_sync_hours = $a_hours;
}

+ Here is the caller graph for this function:

ilCalendarSettings::useCache (   $a_status)

Enable cache.

Parameters
object$a_status
Returns

Definition at line 159 of file class.ilCalendarSettings.php.

Referenced by read().

{
$this->cache_enabled = $a_status;
}

+ Here is the caller graph for this function:

Field Documentation

ilCalendarSettings::$cache_enabled = true
private

Definition at line 68 of file class.ilCalendarSettings.php.

Referenced by isCacheUsed(), and read().

ilCalendarSettings::$cache_minutes = 1
private

Definition at line 69 of file class.ilCalendarSettings.php.

Referenced by getCacheMinutes().

ilCalendarSettings::$cal_settings_id = 0
private

Definition at line 64 of file class.ilCalendarSettings.php.

Referenced by getCalendarSettingsId().

ilCalendarSettings::$cg_registration = false
private

Definition at line 77 of file class.ilCalendarSettings.php.

Referenced by isCGRegistrationEnabled().

ilCalendarSettings::$consultation_hours = false
private

Definition at line 66 of file class.ilCalendarSettings.php.

Referenced by areConsultationHoursEnabled().

ilCalendarSettings::$course_cal_enabled = true
private

Definition at line 79 of file class.ilCalendarSettings.php.

Referenced by isCourseCalendarEnabled().

ilCalendarSettings::$day_end = null
private

Definition at line 62 of file class.ilCalendarSettings.php.

Referenced by getDefaultDayEnd().

ilCalendarSettings::$day_start = null
private

Definition at line 61 of file class.ilCalendarSettings.php.

Referenced by getDefaultDayStart().

ilCalendarSettings::$db = null
private

Definition at line 56 of file class.ilCalendarSettings.php.

ilCalendarSettings::$enabled = false
private

Definition at line 63 of file class.ilCalendarSettings.php.

Referenced by isEnabled().

ilCalendarSettings::$group_cal_enabled = true
private

Definition at line 80 of file class.ilCalendarSettings.php.

Referenced by isGroupCalendarEnabled().

ilCalendarSettings::$instance = null
staticprivate

Definition at line 54 of file class.ilCalendarSettings.php.

Referenced by _getInstance().

ilCalendarSettings::$notification = false
private

Definition at line 74 of file class.ilCalendarSettings.php.

Referenced by isNotificationEnabled().

ilCalendarSettings::$notification_user = false
private

Definition at line 75 of file class.ilCalendarSettings.php.

Referenced by isUserNotificationEnabled().

ilCalendarSettings::$storage = null
private

Definition at line 57 of file class.ilCalendarSettings.php.

ilCalendarSettings::$sync_cache_enabled = true
private

Definition at line 71 of file class.ilCalendarSettings.php.

Referenced by isSynchronisationCacheEnabled().

ilCalendarSettings::$sync_cache_minutes = 10
private

Definition at line 72 of file class.ilCalendarSettings.php.

Referenced by getSynchronisationCacheMinutes().

ilCalendarSettings::$time_format = null
private

Definition at line 59 of file class.ilCalendarSettings.php.

Referenced by getDefaultTimeFormat().

ilCalendarSettings::$timezone = null
private

Definition at line 58 of file class.ilCalendarSettings.php.

Referenced by getDefaultTimeZone().

ilCalendarSettings::$webcal_sync = false
private

Definition at line 82 of file class.ilCalendarSettings.php.

Referenced by isWebCalSyncEnabled().

ilCalendarSettings::$webcal_sync_hours = 2
private

Definition at line 83 of file class.ilCalendarSettings.php.

Referenced by getWebCalSyncHours().

ilCalendarSettings::$week_start = 0
private

Definition at line 60 of file class.ilCalendarSettings.php.

Referenced by getDefaultWeekStart().

const ilCalendarSettings::DEFAULT_CACHE_MINUTES = 0

Definition at line 50 of file class.ilCalendarSettings.php.

const ilCalendarSettings::DEFAULT_DAY_END = 19

Definition at line 41 of file class.ilCalendarSettings.php.

Referenced by ilCalendarUserSettings\read().

const ilCalendarSettings::DEFAULT_DAY_START = 8

Definition at line 40 of file class.ilCalendarSettings.php.

Referenced by ilCalendarUserSettings\read().

const ilCalendarSettings::DEFAULT_SYNC_CACHE_MINUTES = 10

Definition at line 51 of file class.ilCalendarSettings.php.

const ilCalendarSettings::WEEK_START_MONDAY = 1

Definition at line 37 of file class.ilCalendarSettings.php.

Referenced by ilCalendarRecurrence\toICal().

const ilCalendarSettings::WEEK_START_SUNDAY = 0

Definition at line 38 of file class.ilCalendarSettings.php.


The documentation for this class was generated from the following file: