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
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Properties

Property 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.

Public Methods

Method 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.

Protected Methods

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

Method Details

_handlevEventRecurrence() protected method

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 method

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

getTitle() public method

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

getViewUrl() public method

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

hasPermission() public method

$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.
return boolean

Property Details

$calendarType public_oe property

The type of the calender this event exists on.
public string $calendarType
return string

$permission public_oe property

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

$status public_oe property

The status of this event.
public int $status
return integer