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] 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.
OurCal::Config
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..
To install OurCal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OurCal
CPAN shell
perl -MCPAN -e shell install OurCal
For more information on module installation, please visit the detailed CPAN module installation guide.