DAViCal
|
Public Member Functions | |
WriteCalendarMember (vCalendar $vcal, $create_resource, $do_scheduling=false, $segment_name=null, $log_action=false) | |
WriteMember ($resource, $create_resource, $segment_name=null, $log_action=true) | |
WriteCalendarAlarms ($dav_id, vCalendar $vcal) | |
WriteCalendarAttendees ($dav_id, vCalendar $vcal) | |
actualDeleteCalendarMember ($member_dav_name) | |
whatChangedSince ($some_old_token) | |
![]() | |
__construct ($parameters=null) | |
FromRow ($row) | |
FromPath ($inpath) | |
GetParentContainer () | |
FetchParentContainer () | |
Privileges () | |
HavePrivilegeTo ($do_what, $any=null) | |
NeedPrivilege ($privilege, $any=null) | |
BuildPrivileges ($privilege_names=null, &$xmldoc=null) | |
FetchSupportedMethods () | |
BuildSupportedMethods () | |
FetchSupportedReports () | |
BuildSupportedReports (&$reply) | |
FetchTickets () | |
BuildTicketinfo (&$reply) | |
IsLocked ($depth=0) | |
IsCollection () | |
IsPrincipal () | |
IsCalendar () | |
IsProxyCollection ($type= 'any') | |
IsSchedulingCollection ($type= 'any') | |
IsInSchedulingCollection ($type= 'any') | |
IsAddressbook () | |
IsBinding () | |
IsExternal () | |
Exists () | |
ContainerExists () | |
url () | |
dav_name () | |
bound_from () | |
set_bind_location ($new_dav_name) | |
parent_path () | |
principal_url () | |
user_no () | |
collection_id () | |
resource () | |
unique_tag () | |
resource_id () | |
sync_token ($cachedOK=true) | |
IsPublic () | |
IsPublicOnly () | |
ContainerType () | |
BuildACE (&$xmldoc, $privs, $principal) | |
GetACL (&$xmldoc) | |
GetProperty ($name) | |
DAV_AllProperties () | |
ResourceProperty ($tag, $prop, &$reply, &$denied) | |
GetPropStat ($properties, &$reply, $props_only=false) | |
RenderAsXML ($properties, &$reply, $bound_parent_path=null) | |
Static Private Member Functions | |
static | GetTZID (vComponent $comp) |
Additional Inherited Members | |
![]() | |
static | BuildDeadPropertyXML ($property_name, $raw_string) |
![]() | |
FetchCollection () | |
FetchPrincipal () | |
FetchResource () | |
FetchDeadProperties () | |
FetchPrivileges () | |
![]() | |
$dav_name | |
$exists | |
$unique_tag | |
$resource | |
$parent | |
$resourcetypes | |
$contenttype | |
$bound_from | |
Definition at line 4 of file WritableCollection.php.
WritableCollection::actualDeleteCalendarMember | ( | $member_dav_name | ) |
Writes the data to a member in the collection and returns the segment_name of the resource in our internal namespace.
vCalendar | $member_dav_name | The path to the resource to be deleted. |
Definition at line 416 of file WritableCollection.php.
|
staticprivate |
Get a TZID string from this VEVENT/VTODO/... component if we can
vComponent | $comp |
Definition at line 11 of file WritableCollection.php.
WritableCollection::whatChangedSince | ( | $some_old_token | ) |
unknown_type | $some_old_token |
Definition at line 454 of file WritableCollection.php.
WritableCollection::WriteCalendarAlarms | ( | $dav_id, | |
vCalendar | $vcal | ||
) |
Given a dav_id and an original vCalendar, pull out each of the VALARMs and write the values into the calendar_alarm table.
Definition at line 315 of file WritableCollection.php.
WritableCollection::WriteCalendarAttendees | ( | $dav_id, | |
vCalendar | $vcal | ||
) |
Parse out the attendee property and write a row to the calendar_attendee table for each one.
int | $dav_id | The dav_id of the caldav_data we're processing |
vComponent | The VEVENT or VTODO containing the ATTENDEEs |
Definition at line 378 of file WritableCollection.php.
WritableCollection::WriteCalendarMember | ( | vCalendar | $vcal, |
$create_resource, | |||
$do_scheduling = false , |
|||
$segment_name = null , |
|||
$log_action = false |
|||
) |
Writes the data to a member in the collection and returns the segment_name of the resource in our internal namespace.
vCalendar | $vcal | The resource to be written. |
boolean | $create_resource | True if this is a new resource. |
boolean | $do_scheduling | True if we should also do scheduling for this write. Default false. |
string | $segment_name | The name of the resource within the collection, or null if this call should invent one based on the UID of the vCalendar. |
boolean | $log_action | Whether to log this action. Defaults to false since this is normally called in situations where one is writing secondary data. |
From RFC2445 4.6.1: For cases where a "VEVENT" calendar component specifies a "DTSTART" property with a DATE data type but no "DTEND" property, the events non-inclusive end is the end of the calendar date specified by the "DTSTART" property. For cases where a "VEVENT" calendar component specifies a "DTSTART" property with a DATE-TIME data type but no "DTEND" property, the event ends on the same calendar date and time of day specified by the "DTSTART" property.
So we're looking for 'VALUE=DATE', to identify the duration, effectively.
Calculate what timezone to set, first, if possible
Definition at line 33 of file WritableCollection.php.
WritableCollection::WriteMember | ( | $resource, | |
$create_resource, | |||
$segment_name = null , |
|||
$log_action = true |
|||
) |
Writes the data to a member in the collection and returns the segment_name of the resource in our internal namespace.
A caller who wants scheduling not to happen for this write must already know they are dealing with a calendar, so should be calling WriteCalendarMember directly.
$resource | mixed The resource to be written. | |
$create_resource | boolean True if this is a new resource. | |
$segment_name | The name of the resource within the collection, or false on failure. | |
boolean | $log_action | Whether to log this action. Defaults to true since this is normally called in situations where one is writing primary data. |
Definition at line 288 of file WritableCollection.php.