Webcal_Sabre_CalDAV_Backend_PDOPDO CalDAV backend
This class implements the PDO interface for Sabre_CalDAV by manipulating Webcalendar objects.
Located in /server/Webcal_Sabre_CalDAV_Backend_PDO.php (line 17)
Sabre_CalDAV_Backend_PDO | --Webcal_Sabre_CalDAV_Backend_PDO
Constructor __construct (line 24)
Creates the backend
createCalendar (line 89)
Creates a new calendar for a principal.
If the creation was a success, an id must be returned that can be used to reference this calendar in other methods, such as updateCalendar
createCalendarObject (line 317)
Creates a new calendar object.
deleteCalendar (line 235)
Delete a calendar and all it's objects
deleteCalendarObject (line 358)
Deletes an existing calendar object.
getCalendarObject (line 296)
Returns information from a single calendar object, based on it's object uri.
getCalendarObjects (line 251)
Returns all calendar objects within a calendar object.
getCalendarsForUser (line 36)
Returns a list of calendars for a principal
updateCalendar (line 168)
Updates a calendars properties
The properties array uses the propertyName in clark-notation as key, and the array value for the property value. In the case a property should be deleted, the property value will be null.
This method must be atomic. If one property cannot be changed, the entire operation must fail.
If the operation was successful, true can be returned. If the operation failed, false can be returned.
Deletion of a non-existant property is always succesful.
Lastly, it is optional to return detailed information about any failures. In this case an array should be returned with the following structure:
array( 403 => array( '{DAV:}displayname' => null, ), 424 => array( '{DAV:}owner' => null, ) )
In this example it was forbidden to update {DAV:}displayname. (403 Forbidden), which in turn also caused {DAV:}owner to fail (424 Failed Dependency) because the request needs to be atomic.
updateCalendarObject (line 340)
Updates an existing calendarobject, based on it's uri.
Documentation generated on Thu, 10 Jun 2010 17:08:41 -0400 by phpDocumentor 1.4.3