Class Kronolith_Driver_Resource
The Kronolith_Driver_Resource class implements the Kronolith_Driver API for storing resource calendars in a SQL backend.
Copyright 1999-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_Driver
- Kronolith_Driver_Sql
- Kronolith_Driver_Resource
Package: Kronolith
Author: Luc Saillard luc.saillard@fr.alcove.com
Author: Chuck Hagenbuch chuck@horde.org
Author: Jan Schneider jan@horde.org
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Driver/Resource.php
Author: Luc Saillard luc.saillard@fr.alcove.com
Author: Chuck Hagenbuch chuck@horde.org
Author: Jan Schneider jan@horde.org
Author: Michael J Rubinsky mrubinsk@horde.org
Located at Driver/Resource.php
public
|
|
public
|
|
public
|
#
delete(
Removes a resource from storage, along with any events in the resource's calendar. |
public
|
|
public
integer
|
#
getResourceIdByCalendar( string $calendar )
Obtain the resource id associated with the given calendar uid. |
public
boolean
|
#
isResourceCalendar( string $calendar )
Determine if the provided calendar id represents a resource's calendar. |
public
an
|
#
listResources( integer $perms = Horde_Perms::READ, array $filter = array(), string $orderby = null )
Return a list of Kronolith_Resources |
public
array
|
#
getGroupMemberships( integer $resource_id )
Obtain the group id for each group the speciied resource is a member of. |
backgroundColor(),
convertFromDriver(),
convertToDriver(),
countEvents(),
exists(),
filterEventsByCalendar(),
getByUID(),
getEvent(),
initialize(),
listAlarms(),
listEvents(),
search()
|
__construct(),
colors(),
getParam(),
move(),
nextRecurrence(),
open(),
saveEvent(),
setParam(),
setParams()
|
$backgroundColor,
$calendar,
$foregroundColor
|