PHP Class Kronolith_Event_Ical, horde

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Chuck Hagenbuch ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Kronolith_Event
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$calendarType string The type of the calender this event exists on.
$permission integer The Horde_Perms permissions mask matching the CalDAV ACL of this event's calendar.
$status integer The status of this event.

Méthodes publiques

Méthode Description
fromDriver ( $vEvent ) Imports a backend specific event object.
getTitle ( string $user = null ) : string Returns the title of this event.
getViewUrl ( array $params = [], $full = false, $encoded = true ) : Horde_Url
hasPermission ( integer $permission, string $user = null ) : boolean Encapsulates permissions checking.

Méthodes protégées

Méthode Description
_handlevEventRecurrence ( Horde_Icalendar $vEvent ) Parses the various exception related fields. Only deal with the EXDATE field here.

Method Details

_handlevEventRecurrence() protected méthode

Parses the various exception related fields. Only deal with the EXDATE field here.
protected _handlevEventRecurrence ( Horde_Icalendar $vEvent )
$vEvent Horde_Icalendar The vEvent part.

fromDriver() public méthode

Imports a backend specific event object.
public fromDriver ( $vEvent )

getTitle() public méthode

Returns the title of this event.
public getTitle ( string $user = null ) : string
$user string The current user.
Résultat string The title of this event.

getViewUrl() public méthode

public getViewUrl ( array $params = [], $full = false, $encoded = true ) : Horde_Url
$params array
Résultat Horde_Url

hasPermission() public méthode

$user is being ignored.
public hasPermission ( integer $permission, string $user = null ) : boolean
$permission integer The permission to check for.
$user string The user to check permissions for.
Résultat boolean

Property Details

$calendarType public_oe property

The type of the calender this event exists on.
public string $calendarType
Résultat string

$permission public_oe property

The Horde_Perms permissions mask matching the CalDAV ACL of this event's calendar.
public int $permission
Résultat integer

$status public_oe property

The status of this event.
public int $status
Résultat integer