PHP 클래스 Kronolith_Calendar_Resource, horde
Copyright 2010-2016 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.
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$_resource |
Kronolith_Resource_Single |
The share of this calendar. |
|
공개 메소드들
메소드 상세
public __construct ( array $params = [] ) |
$params |
array |
A hash with any parameters that this calendar
might need.
Required parameters:
- share: The share of this calendar. |
Returns the description of this calendar.
Whether this calendar is supposed to be displayed in lists.
Encapsulates permissions checking.
public hasPermission ( integer $permission, string $user = null, string $creator = null ) : boolean |
$permission |
integer |
The permission to check for. |
$user |
string |
The user to check permissions for. Defaults
to the current user. |
$creator |
string |
An event creator, to check for creator
permissions. |
리턴 |
boolean |
Whether the user has the permission on this calendar. |
Returns the name of this calendar.
Returns the owner of this calendar.
Returns a hash representing this calendar.
프로퍼티 상세
The share of this calendar.
protected Kronolith_Resource_Single $_resource |
리턴 |
Kronolith_Resource_Single |
|