- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::ical::VCALITEM
::xo::ical::VCALITEM create ... \VCALITEM is the superclass of a VTODO and a VEVENT, intended as an abstract class.
[ -creation_date creation_date ] \
[ -description description ] \
[ -dtstamp dtstamp ] \
[ -dtstart dtstart ] \
[ -geo geo ] \
[ -is_day_item (default "false") ] \
[ -last-modified last-modified ] \
[ -last_modified last_modified ] \
[ -location location ] \
[ -priority priority ] \
[ -status status ] \
[ -summary summary ] \
[ -uid uid ] \
[ -url url ]
Defined in packages/xotcl-core/tcl/ical-procs.tcl
Class Relations
Methods (to be applied on instances)
add_recurrence (scripted, public)
<instance of xo::ical::VCALITEM> add_recurrence \ [ -cal_item_id cal_item_id ]Call calendar::item::add_recurrence with the options calculated by "parse RRULE"
- Switches:
- -cal_item_id (optional, integer)
- Testcases:
- No testcase defined.
as_ical (scripted, public)
<instance of xo::ical::VCALITEM> as_icalOutput a VCALITEM (VTODO or VEVENT) "object" in ical notation.
- Testcases:
- No testcase defined.
creation_date (forward)
description (forward)
dtstamp (forward)
dtstart (forward)
edit_recurrence (scripted, public)
<instance of xo::ical::VCALITEM> edit_recurrence \ [ -cal_item_id cal_item_id ] [ -recurrence_id recurrence_id ]We might or might not have a recurrence on the old entry. In case we have one, the old one might have started earlier, so we try to terminate it.
- Switches:
- -cal_item_id (optional, integer)
- -recurrence_id (optional, integer, accept empty)
- Testcases:
- No testcase defined.
geo (forward)
get (scripted, public)
<instance of xo::ical::VCALITEM> get property [ default ]Return a certain property of an ical items. In case, the item has no such property, return the default value.
- Parameters:
- property (required)
- default (optional)
- Testcases:
- No testcase defined.
ical_body (scripted, public)
<instance of xo::ical::VCALITEM> ical_bodyThe method ical_body returns the ical-formatted content of the variables. All variables of VEVENTs and VTODOs are listed below, since the names are distinct, and no methods are used. So far there is no handling for the repetition fields (which might occur more than once). An option would be to handle these as lists. All date/timestamps are provided either by the ANSI date (from postgres) or by a date which can be processed via clock scan
- Testcases:
- No testcase defined.
is_day_item (forward)
last-modified (forward)
last_modified (forward)
location (forward)
parse RRULE (scripted, public)
<instance of xo::ical::VCALITEM> parse RRULE recurruleparse recurrence rule provided in cal syntax. This method assumes that the instance variable dtstart is already set, before this method is called.
- Parameters:
- recurrule (required)
- Testcases:
- No testcase defined.
priority (forward)
status (forward)
summary (forward)
uid (forward)
url (forward)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables