MCAL stands for Modular Calendar Access Library_
Libmcal is a C library for accessing calendars_ It's written to be
very modular, with plugable drivers_ MCAL is the calendar
equivalent of the IMAP module for mailboxes_
With mcal support, a calendar stream can be opened much like the
mailbox stream with the IMAP support_ Calendars can be local file
stores, remote ICAP servers, or other formats that are supported
by the mcal library_
Calendar events can be pulled up, queried, and stored_ There is
also support for calendar triggers (alarms) and reoccuring events_
With libmcal, central calendar servers can be accessed and used,
removing the need for any specific database or local file
programming_
To get these functions to work, you have to compile PHP with
__with_mcal_ That requires the
mcal library to be installed_ Grab the latest version from http://mcal_chek_com/ and
compile and install it_
The following constants are defined when using the MCAL module:
MCAL_SUNDAY,
MCAL_MONDAY,
MCAL_TUESDAY,
MCAL_WEDNESDAY,
MCAL_THURSDAY,
MCAL_FRIDAY,
MCAL_SATURDAY,
MCAL_RECUR_NONE,
MCAL_RECUR_DAILY,
MCAL_RECUR_WEEKLY,
MCAL_RECUR_MONTHLY_MDAY,
MCAL_RECUR_MONTHLY_WDAY,
MCAL_RECUR_YEARLY,
MCAL_JANUARY,
MCAL_FEBRUARY,
MCAL_MARCH,
MCAL_APRIL,
MCAL_MAY,
MCAL_JUNE,
MCAL_JULY,
MCAL_AUGUGT,
MCAL_SEPTEMBER,
MCAL_OCTOBER,
MCAL_NOVEMBER, and
MCAL_DECEMBER_
Most of the functions use an internal event structure that is
unique for each stream_ This alleviates the need to pass around
large objects between functions_ There are convenience functions
for setting, initializing, and retrieving the event structure
values_