PHP 클래스 Kronolith_CalendarsManager, horde

Copyright 2013-2014 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
저자: Michael J Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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 ( )

메소드 상세

__construct() 공개 메소드

Always set: - allCalendars - displayCalendars - displayResource Lazy loaded: - allRemote - allExternal - allHolidays - allResource - displayRemote - displayExternal - displayHolidays
public __construct ( string $user = null )
$user string The user to initialize for, if not the current. @since 4.2.4

_checkDisplayCals() 보호된 메소드

Update display preferences
protected _checkDisplayCals ( )

_checkForOwnedCalendar() 보호된 메소드

Check that the user owns a calendar and if not, creates one.
protected _checkForOwnedCalendar ( )

_checkToggleCalendars() 보호된 메소드

Check for single, "toggle" calendars and set display lists and session values appropriately.
protected _checkToggleCalendars ( )

_getAllExternal() 보호된 메소드

Return all known external calendars.
protected _getAllExternal ( ) : array
리턴 array

_getAllHolidays() 보호된 메소드

Return list of all available holidays drivers.
protected _getAllHolidays ( ) : array
리턴 array The available holidays.

_getAllResource() 보호된 메소드

Return list of all resource calendars.
protected _getAllResource ( ) : array
리턴 array Resource calendars, keyed by calendar id.

_getDisplayExternal() 보호된 메소드

Return all external calendars selected for display.
protected _getDisplayExternal ( ) : array
리턴 array

_getDisplayHolidays() 보호된 메소드

Return list of holiday calendars to be displayed.
protected _getDisplayHolidays ( ) : array
리턴 array The holiday calendars to display.

_getRemoteCalendars() 보호된 메소드

protected _getRemoteCalendars ( )

get() 공개 메소드

Return the requested list.
public get ( string $list ) : array
$list string A Kronolith:: calendar manager constant.
리턴 array

getEntry() 공개 메소드

Shortcut method for obtaining a single entry in one of the calendar lists
public getEntry ( string $list, string $entry ) : mixed
$list string The calendar list to obtain an entry from.
$entry string The entry to retrieve.
리턴 mixed The requested value | false if not found.

set() 공개 메소드

Set or replace an existing list with $value.
public set ( string $list, array $value )
$list string The list to set.
$value array The value to set it to.

프로퍼티 상세

$_allCalendars 보호되어 있는 프로퍼티

List of all available internal calendars.
protected array $_allCalendars
리턴 array

$_allExternal 보호되어 있는 프로퍼티

List of all available external calendars.
protected array $_allExternal
리턴 array

$_allHolidays 보호되어 있는 프로퍼티

List of all available Holiday calendars.
protected array $_allHolidays
리턴 array

$_allRemote 보호되어 있는 프로퍼티

List of all available remote calendars.
protected array $_allRemote
리턴 array

$_allResource 보호되어 있는 프로퍼티

Lazy loaded list of all resource calendars.
protected array. $_allResource
리턴 array.

$_displayCalendars 보호되어 있는 프로퍼티

List of all internal calendars that are currently selected to be visible.
protected array $_displayCalendars
리턴 array

$_displayExternal 보호되어 있는 프로퍼티

List of external (listTimeObjects) calendars selected for display.
protected array $_displayExternal
리턴 array

$_displayHolidays 보호되어 있는 프로퍼티

List of all holidays selected for display.
protected array $_displayHolidays
리턴 array

$_displayHolidaysInternal 보호되어 있는 프로퍼티

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.
protected array $_displayHolidaysInternal
리턴 array

$_displayRemote 보호되어 있는 프로퍼티

List of remote calendars selected for display.
protected array $_displayRemote
리턴 array

$_displayResource 보호되어 있는 프로퍼티

List of resource calendars selected for display.
protected array $_displayResource
리턴 array