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
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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