The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OurCal::Provider::ICalendar - an RFC2445 provider for OurCal

SYNOPSIS

    [an_ical_provider
    type = icalendar
    file = path/to/file.ics

CONFIG OPTIONS

file

The ics file. Can either be a local file or a url of one.

cache

The name of a cache provider. This will cache fetching the file.

METHODS

new <param[s]>

Requires an OurCal::Config object as config param and a name param.

todos

Returns all the todos on the system.

has_events <param[s]>

Returns whether there are events given the params.

events <param[s]>

Returns all the events for the given params.

users

Returns the name of all the users on the system.

save_todo <OurCal::Todo>

Save a todo.

del_todo <OurCal::Todo>

Delete a todo.

save_event <OurCal::Event>

Save an event.

del_event <OurCal::Event>

Delete an event..