LIV. MCAL functions
To
get
these
functions
to
work
,
you
have
to
compile
PHP
with
--with-mcal
.
That
requires
the
mcal
library
to
be
installed
.
The
following
constants
are
defined
when
using
the
MCAL
module
.
For
weekdays
:
-
MCAL_SUNDAY
-
MCAL_MONDAY
-
MCAL_TUESDAY
-
MCAL_WEDNESDAY
-
MCAL_THURSDAY
-
MCAL_FRIDAY
-
MCAL_SATURDAY
For recurrence :
-
MCAL_RECUR_NONE
-
MCAL_RECUR_DAILY
-
MCAL_RECUR_WEEKLY
-
MCAL_RECUR_MONTHLY_MDAY
-
MCAL_RECUR_MONTHLY_WDAY
-
MCAL_RECUR_YEARLY
For months :
-
MCAL_JANUARY
-
MCAL_FEBRUARY
-
MCAL_MARCH
-
MCAL_APRIL
-
MCAL_MAY
-
MCAL_JUNE
-
MCAL_JULY
-
MCAL_AUGUST
-
MCAL_SEPTEMBER
-
MCAL_OCTOBER
-
MCAL_NOVEMBER
-
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.