프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_allCalendars | array | List of all available internal calendars. | |
$_allExternal | array | List of all available external calendars. | |
$_allHolidays | array | List of all available Holiday calendars. | |
$_allRemote | array | List of all available remote calendars. | |
$_allResource | array. | Lazy loaded list of all resource calendars. | |
$_displayCalendars | array | List of all internal calendars that are currently selected to be visible. | |
$_displayExternal | array | List of external (listTimeObjects) calendars selected for display. | |
$_displayHolidays | array | List of all holidays selected for display. | |
$_displayHolidaysInternal | array | List of holiday calendars selected for display. Used internally to hold the user prefs for displayed holiday calendars before we need to see if they are all available. | |
$_displayRemote | array | List of remote calendars selected for display. | |
$_displayResource | array | List of resource calendars selected for display. |
메소드 | 설명 | |
---|---|---|
__construct ( string $user = null ) | Const'r Sets up various display lists and session variables: | |
get ( string $list ) : array | Return the requested list. | |
getEntry ( string $list, string $entry ) : mixed | Shortcut method for obtaining a single entry in one of the calendar lists | |
set ( string $list, array $value ) | Set or replace an existing list with $value. |
메소드 | 설명 | |
---|---|---|
_checkDisplayCals ( ) | Update display preferences | |
_checkForOwnedCalendar ( ) | Check that the user owns a calendar and if not, creates one. | |
_checkToggleCalendars ( ) | Check for single, "toggle" calendars and set display lists and session values appropriately. | |
_getAllExternal ( ) : array | Return all known external calendars. | |
_getAllHolidays ( ) : array | Return list of all available holidays drivers. | |
_getAllResource ( ) : array | Return list of all resource calendars. | |
_getDisplayExternal ( ) : array | Return all external calendars selected for display. | |
_getDisplayHolidays ( ) : array | Return list of holiday calendars to be displayed. | |
_getRemoteCalendars ( ) |
public __construct ( string $user = null ) | ||
$user | string | The user to initialize for, if not the current. @since 4.2.4 |
protected _checkForOwnedCalendar ( ) |
protected _checkToggleCalendars ( ) |
protected _getAllExternal ( ) : array | ||
리턴 | array |
protected _getAllHolidays ( ) : array | ||
리턴 | array | The available holidays. |
protected _getAllResource ( ) : array | ||
리턴 | array | Resource calendars, keyed by calendar id. |
protected _getDisplayExternal ( ) : array | ||
리턴 | array |
protected _getDisplayHolidays ( ) : array | ||
리턴 | array | The holiday calendars to display. |
protected array $_allCalendars | ||
리턴 | array |
protected array $_allExternal | ||
리턴 | array |
protected array $_allHolidays | ||
리턴 | array |
protected array $_allRemote | ||
리턴 | array |
protected array. $_allResource | ||
리턴 | array. |
protected array $_displayCalendars | ||
리턴 | array |
protected array $_displayExternal | ||
리턴 | array |
protected array $_displayHolidays | ||
리턴 | array |
protected array $_displayHolidaysInternal | ||
리턴 | array |
protected array $_displayRemote | ||
리턴 | array |
protected array $_displayResource | ||
리턴 | array |