Overview

Packages

  • Kronolith
  • None

Classes

  • Kronolith
  • Kronolith_Ajax_Application
  • Kronolith_Ajax_Imple_ContactAutoCompleter
  • Kronolith_Ajax_Imple_Embed
  • Kronolith_Ajax_Imple_TagActions
  • Kronolith_Ajax_Imple_TagAutoCompleter
  • Kronolith_Api
  • Kronolith_Calendar
  • Kronolith_Calendar_External
  • Kronolith_Calendar_External_Tasks
  • Kronolith_Calendar_Holiday
  • Kronolith_Calendar_Internal
  • Kronolith_Calendar_Remote
  • Kronolith_Calendar_Resource
  • Kronolith_Calendars_Base
  • Kronolith_Calendars_Default
  • Kronolith_Calendars_Kolab
  • Kronolith_Day
  • Kronolith_Driver
  • Kronolith_Driver_Holidays
  • Kronolith_Driver_Horde
  • Kronolith_Driver_Ical
  • Kronolith_Driver_Kolab
  • Kronolith_Driver_Mock
  • Kronolith_Driver_Resource
  • Kronolith_Driver_Sql
  • Kronolith_Event
  • Kronolith_Event_Holidays
  • Kronolith_Event_Horde
  • Kronolith_Event_Ical
  • Kronolith_Event_Kolab
  • Kronolith_Event_Resource
  • Kronolith_Event_Sql
  • Kronolith_Exception
  • Kronolith_Factory_Calendars
  • Kronolith_Factory_Geo
  • Kronolith_Form_CreateCalendar
  • Kronolith_Form_CreateResource
  • Kronolith_Form_CreateResourceGroup
  • Kronolith_Form_DeleteCalendar
  • Kronolith_Form_DeleteResource
  • Kronolith_Form_DeleteResourceGroup
  • Kronolith_Form_EditCalendar
  • Kronolith_Form_EditRemoteCalendar
  • Kronolith_Form_EditResource
  • Kronolith_Form_EditResourceGroup
  • Kronolith_Form_SubscribeRemoteCalendar
  • Kronolith_Form_UnsubscribeRemoteCalendar
  • Kronolith_FreeBusy
  • Kronolith_FreeBusy_View
  • Kronolith_FreeBusy_View_Day
  • Kronolith_FreeBusy_View_Month
  • Kronolith_FreeBusy_View_Week
  • Kronolith_FreeBusy_View_Workweek
  • Kronolith_Geo_Base
  • Kronolith_Geo_Mysql
  • Kronolith_Geo_Sql
  • Kronolith_LoginTasks_SystemTask_Upgrade
  • Kronolith_LoginTasks_Task_PurgeEvents
  • Kronolith_Notification_Listener_AjaxStatus
  • Kronolith_Resource
  • Kronolith_Resource_Base
  • Kronolith_Resource_Group
  • Kronolith_Resource_Single
  • Kronolith_Storage
  • Kronolith_Storage_Kolab
  • Kronolith_Storage_Sql
  • Kronolith_Tagger
  • Kronolith_Test
  • Kronolith_View_Day
  • Kronolith_View_DeleteEvent
  • Kronolith_View_EditEvent
  • Kronolith_View_Event
  • Kronolith_View_ExportEvent
  • Kronolith_View_Month
  • Kronolith_View_Week
  • Kronolith_View_WorkWeek
  • Kronolith_View_Year
  • Overview
  • Package
  • Class
  • Tree

Class Kronolith_Event_Horde

Copyright 2009-2012 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.

Kronolith_Event
Extended by Kronolith_Event_Horde
Package: Kronolith
Author: Jan Schneider jan@horde.org
Located at Event/Horde.php
Methods summary
public
# __construct( Kronolith_Driver $driver, mixed $eventObject = null )

Constructor.

Constructor.

Parameters

$driver
<p>The backend driver that this event is stored in.</p>
$eventObject
<p>Backend specific event object that this will represent.</p>

Overrides

Kronolith_Event::__construct()
public
# fromDriver( array $event )

Imports a backend specific event object.

Imports a backend specific event object.

Parameters

$event
<p>Backend specific event object that this object will represent.</p>

Overrides

Kronolith_Event::fromDriver()
public
# toTimeobject( )

Prepares this event to be saved to the backend.

Prepares this event to be saved to the backend.

public boolean
# hasPermission( integer $permission, string $user = null )

Encapsulates permissions checking.

Encapsulates permissions checking.

Parameters

$permission
The permission to check for.
$user
The user to check permissions for.

Returns

boolean

Overrides

Kronolith_Event::hasPermission()
public string
# getTitle( string $user = null )

Returns the title of this event.

Returns the title of this event.

Parameters

$user
The current user.

Returns

string
The title of this event.

Overrides

Kronolith_Event::getTitle()
public Horde_Url
# getViewUrl( array $params = array(), mixed $full = false, mixed $encoded = true )

Parameters

$params
$full
$encoded

Returns

Horde_Url

Overrides

Kronolith_Event::getViewUrl()
public Horde_Url
# getEditUrl( array $params = array(), mixed $full = false )

Parameters

$params
$full

Returns

Horde_Url

Overrides

Kronolith_Event::getEditUrl()
public Horde_Url
# getDeleteUrl( array $params = array(), mixed $full = false )

Parameters

$params
$full

Returns

Horde_Url

Overrides

Kronolith_Event::getDeleteUrl()
public object
# toJson( boolean $allDay = null, boolean $full = false, string $time_format = 'H:i' )

Returns a simple object suitable for json transport representing this event.

Returns a simple object suitable for json transport representing this event.

Parameters

$allDay
<p>If not null, overrides whether the event is an all-day event.</p>
$full
Whether to return all event details.
$time_format
The date() format to use for time formatting.

Returns

object
A simple object.

Overrides

Kronolith_Event::toJson()
public string
# getTooltip( )

Returns

string
A tooltip for quick descriptions of this event.

Overrides

Kronolith_Event::getTooltip()
Methods inherited from Kronolith_Event
__get(), __set(), addAttendee(), addResource(), exceptionLink(), exceptionsList(), exists(), fromASAppointment(), fromHash(), fromiCalendar(), getCSSColors(), getDriver(), getDuration(), getExportUrl(), getLink(), getLocation(), getRecurName(), getResources(), getShare(), getStatusClass(), getTimeRange(), hasAttendee(), html(), isAllDay(), isPrivate(), readForm(), recurs(), removeResource(), save(), toASAppointment(), toAlarm(), toiCalendar()
Properties summary
public string $calendarType

The type of the calender this event exists on.

The type of the calender this event exists on.

# 'external'
Properties inherited from Kronolith_Event
$alarm, $allday, $attendees, $baseid, $calendar, $description, $durMin, $end, $exceptionoriginaldate, $first, $icon, $initialized, $last, $location, $methods, $private, $recurrence, $sequence, $start, $status, $stored, $title, $uid, $url
API documentation generated by ApiGen