Function write_resource
Actually write the resource to the database. All checking of whether this is reasonable should be done before this is called.
Package: davical\caldav
Copyright: Morphoss Ltd - http://www.morphoss.com/
License: GNU GPL v2 or later version
Author: Andrew McMillan andrew@morphoss.com
Located at caldav-PUT-functions.php
Copyright: Morphoss Ltd - http://www.morphoss.com/
License: GNU GPL v2 or later version
Author: Andrew McMillan andrew@morphoss.com
Located at caldav-PUT-functions.php
|
$resource |
The resource being written |
string |
$caldav_data |
The actual data to be written |
|
$collection |
The collection containing the resource being written |
integer |
$author |
The user_no who wants to put this resource on the server |
string |
& $etag |
An etag unique for this event |
string |
$put_action_type |
INSERT or UPDATE depending on what we are to do |
boolean |
$caldav_context |
True, if we are responding via CalDAV, false for other ways of calling this |
string |
$log_action = true |
'INSERT' or 'UPDATE': the type of action we are doing |
boolean |
$weak_etag = null |
$log_action Whether to log the fact that we are writing this into an action log (if configured) |
string |
$weak_etag,… |
An etag that is NOT modified on ATTENDEE changes for this event |
boolean
|
True for success, false for failure. |