- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::caldav::calitem
::caldav::calitem"calitem" is a specialization of a ::xoical::VEVENTV providinig extra functionality. GN TODO: check, what else of this could go into VEVENT.create ... \
[ -creation_date creation_date ] \
[ -description description ] \
[ -dtend dtend ] \
[ -dtstamp dtstamp ] \
[ -dtstart dtstart ] \
[ -etag etag ] \
[ -formatted_recurrences formatted_recurrences ] \
[ -geo geo ] \
[ -ical_vars (default "") ] \
[ -is_day_item (default "false") ] \
[ -last-modified last-modified ] \
[ -last_modified last_modified ] \
[ -location location ] \
[ -priority priority ] \
[ -sequence sequence ] \
[ -status status ] \
[ -summary summary ] \
[ -transp transp ] \
[ -uid uid ] \
[ -url url ]
Defined in packages/caldav/tcl/caldav-item-procs.tcl
Class Relations
Methods (to be applied on instances)
add_ical_var (scripted, 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:
- No testcase defined.
as_ical_calendar (scripted, 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:
- No testcase defined.
as_ical_event (scripted, 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:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables