| OurCal documentation | view source | Contained in the OurCal distribution. |
OurCal::Provider - class for getting events and TODOs from the system
Teh default provider is a Multi provider named providers. This means
that you can do
[providers]
providers=default birthday
[default]
dsn=dbi:SQLite:ourcal
type=dbi
[birthday]
file=birthday.ics
type=icalendar
Alternatively you can specify another default provider using the provider config option
provider=cache_everything
[cache_everything]
child=providers
type=cache
[providers]
providers=default birthday
type=multi
[default]
dsn=dbi:SQLite:ourcal
type=dbi
[birthday]
file=birthday.ics
type=icalendar
Read individual providers for config options.
Requires an OurCal::Config object as config param.
Authomatically instantiates the default provider.
Returns a hash of all providers installed on the system as key-value pairs of the name of the provider and class it represents.
Load a provider with a given name as defined in the config and returns it as an object.
Returns all the todos on the system.
Returns whether there are events given the params.
Returns all the events for the given params.
Returns the name of all the users on the system.
Save a todo.
Delete a todo.
Save an event.
Delete an event..
| OurCal documentation | view source | Contained in the OurCal distribution. |