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
-
Kronolith_Event_Horde
Methods summary
public
|
#
__construct( Kronolith_Driver $driver, mixed $eventObject = null )
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
|
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
|
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
|
public
string
|
#
getTitle( string $user = null )
Returns the title of this event.
Returns the title of this event.
Parameters
Returns
string The title of this event.
Overrides
|
public
Horde_Url
|
#
getViewUrl( array $params = array(), mixed $full = false, mixed $encoded = true )
Parameters
Returns
Horde_Url
Overrides
|
public
Horde_Url
|
#
getEditUrl( array $params = array(), mixed $full = false )
Parameters
Returns
Horde_Url
Overrides
|
public
Horde_Url
|
#
getDeleteUrl( array $params = array(), mixed $full = false )
Parameters
Returns
Horde_Url
Overrides
|
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
|
public
string
|
#
getTooltip( )
Returns
string A tooltip for quick descriptions of this event.
Overrides
|
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.
|
|
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
|