PHP 클래스 Kronolith_Calendar_Remote, 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.
저자: Jan Schneider ([email protected])
상속: extends Kronolith_Calendar
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_color string The color of this calendar.
$_desc string The description of this calendar.
$_name string The name of this calendar.
$_password string The HTTP password for this calendar.
$_url string The URL of this calendar.
$_user string The HTTP user name for this calendar.

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Constructor.
background ( ) : string Returns the background color for this calendar.
credentials ( ) : array Returns the authentication credentials for this calendar.
description ( ) : string Returns the description of this calendar.
display ( ) : boolean Whether this calendar is supposed to be displayed in lists.
hasPermission ( integer $permission, string $user = null, string $creator = null ) : boolean Encapsulates permissions checking.
name ( ) : string Returns the name of this calendar.
toHash ( ) : array Returns a hash representing this calendar.
url ( ) : string Returns the URL of this calendar.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = [] )
$params array A hash with any parameters that this calendar might need. Required parameters: - share: The share of this calendar.

background() 공개 메소드

Returns the background color for this calendar.
public background ( ) : string
리턴 string A HTML color code.

credentials() 공개 메소드

Returns the authentication credentials for this calendar.
public credentials ( ) : array
리턴 array This calendar's credentials.

description() 공개 메소드

Returns the description of this calendar.
public description ( ) : string
리턴 string This calendar's description.

display() 공개 메소드

Whether this calendar is supposed to be displayed in lists.
public display ( ) : boolean
리턴 boolean True if this calendar should be displayed.

hasPermission() 공개 메소드

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.

name() 공개 메소드

Returns the name of this calendar.
public name ( ) : string
리턴 string This calendar's name.

toHash() 공개 메소드

Returns a hash representing this calendar.
public toHash ( ) : array
리턴 array A simple hash.

url() 공개 메소드

Returns the URL of this calendar.
public url ( ) : string
리턴 string This calendar's URL.

프로퍼티 상세

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

The color of this calendar.
protected string $_color
리턴 string

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

The description of this calendar.
protected string $_desc
리턴 string

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

The name of this calendar.
protected string $_name
리턴 string

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

The HTTP password for this calendar.
protected string $_password
리턴 string

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

The URL of this calendar.
protected string $_url
리턴 string

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

The HTTP user name for this calendar.
protected string $_user
리턴 string