- Publicity: Public Only All
caldav-item-procs.tcl
CalDav implementation for OpenACS Object type for calendar items
This file defines the following Objects and Classes: ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
, ::caldav::calitem
- Location:
- packages/caldav/tcl/caldav-item-procs.tcl
- Created:
- Jan, 2017
- Author:
- marmoser@wu.ac.at
Procedures in this file
- Class ::caldav::calitem (public)
- caldav::calitem instproc add_ical_var (public)
- caldav::calitem instproc as_ical_calendar (public)
- caldav::calitem instproc as_ical_event (public)
Detailed information
Class ::caldav::calitem (public)
::nx::Class ::caldav::calitem
"calitem" is a specialization of a ::xoical::VEVENTV providinig extra functionality. GN TODO: check, what else of this could go into VEVENT.
- Testcases:
- No testcase defined.
caldav::calitem method add_ical_var (public)
<instance of caldav::calitem> add_ical_var tag param value
add tag/param/value to the property ical_vars which are variables treated separately.
- Parameters:
- tag (required)
- param (required)
- value (required)
- Testcases:
- macOS_add_event
caldav::calitem method as_ical_calendar (public)
<instance of caldav::calitem> as_ical_calendar \ [ -calendar_name calendar_name ]
Output a ::caldav::calitem in the form of a full calendar. For now, without timezone [::caldav::calendars timezone]
- Switches:
- -calendar_name (optional)
- Testcases:
- macOS_subscribe
caldav::calitem method as_ical_event (public)
<instance of caldav::calitem> as_ical_event
Output a ::caldav::calitem into ical VEVENT notation. It differs from standard as_ical in the following aspects: - it hard-codes the item_type to VEVENT - it handles the VALARM block handed in via ical_vars TODO: probably not the best way. - it imports the attributes of the ical_vars into instance attributes. TODO: this is dangerous - it flags entries as all day events
- Testcases:
- get_calitems
![[i]](/resources/acs-subsite/ZoomIn16.gif)