Kronolith_Driver_sqlThe Kronolith_Driver_sql:: class implements the Kronolith_Driver API for a SQL backend.
$Horde: kronolith/lib/Driver/sql.php,v 1.136.2.48 2010/05/13 17:24:33 jan Exp $
Located in /lib/Driver/sql.php (line 13)
Kronolith_Driver | --Kronolith_Driver_sql
array
listEvents
([ $startDate = null], [ $endDate = null], [boolean $hasAlarm = false], Horde_Date $startInterval, Horde_Date $endInterval)
array
listEventsConditional
([Horde_Date $startInterval = null], [Horde_Date $endInterval = null], [string $conditions = ''], [array $vals = array()])
array
$_cache
= array() (line 36)
Cache events as we fetch them to avoid fetching the same event from the DB twice.
DB
$_db
(line 20)
The object handle for the current database connection.
DB
$_write_db
(line 28)
Handle for the current database connection, used for writing. Defaults to the same handle as $_db if a separate write database is not required.
Inherited from Kronolith_Driver
Kronolith_Driver::$_calendar
Kronolith_Driver::$_errormsg
Kronolith_Driver::$_params
convertFromDriver (line 806)
Converts a value from the driver's charset to the default charset.
convertToDriver (line 819)
Converts a value from the default charset to the driver's charset.
delete (line 641)
Delete a calendar and all its events.
deleteEvent (line 663)
Delete an event.
exists (line 203)
Checks if the event's UID already exists and returns all event ids with that UID.
getByUID (line 419)
Get an event or events with the given UID value.
getEvent (line 370)
initialize (line 712)
Attempts to open a connection to the SQL server.
listAlarms (line 38)
listEvents (line 242)
Lists all events in the time range, optionally restricting results to only events with alarms.
listEventsConditional (line 275)
Lists all events that satisfy the given conditions.
move (line 600)
Move an event to a new calendar.
removeUserData (line 832)
Remove all events owned by the specified user in all calendars.
saveEvent (line 498)
Saves an event in the backend.
If it is a new event, it is added, otherwise the event is updated.
search (line 103)
_initConn (line 761)
Inherited From Kronolith_Driver
Kronolith_Driver::Kronolith_Driver()
Kronolith_Driver::factory()
Kronolith_Driver::generateUID()
Kronolith_Driver::getCalendar()
Kronolith_Driver::getEvent()
Kronolith_Driver::initialize()
Kronolith_Driver::listAlarms()
Kronolith_Driver::listEvents()
Kronolith_Driver::nextRecurrence()
Kronolith_Driver::open()
Kronolith_Driver::removeUserData()
Kronolith_Driver::rename()
Kronolith_Driver::saveEvent()
Kronolith_Driver::search()
Documentation generated on Sun, 30 Jan 2011 05:31:49 +0000 by phpDocumentor 1.4.3