NAME

OurCal::Provider::DBI - a DBI provider for OurCal

SYNOPSIS

[a_dbi_provider]
dsn  = dbi:SQLite:ourcal
type = dbi

CONFIG OPTIONS

dsn

A DBI dsn. Required.

user

A user name. Optional.

pass

A password. Optional.

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..