PDO 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
Creates the backend
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
Creates a new calendar object.
Delete a calendar and all it's objects
Deletes an existing calendar object.
Returns information from a single calendar object, based on it's object uri.
Returns all calendar objects within a calendar object.
Returns a list of calendars for a principal
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.
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