mcal_list_events

(PHP 3 >= 3.0.13, PHP 4, PECL)

mcal_list_events --  Return a list of IDs for a date or a range of dates

Description

array mcal_list_events ( int mcal_stream [, int begin_year, int begin_month, int begin_day, int end_year, int end_month, int end_day] )

Returns an array of ID's that are between the start and end dates, or if just a stream is given, uses the start and end dates in the global event structure.

mcal_list_events() takes in an beginning date and an optional end date for a calendar stream. An array of event id's that are between the given dates or the internal event dates are returned.


add a note add a note User Contributed Notes
mikep at oeone dot com
17-Aug-2001 01:15
That last $EndYear should be $EndDay.
mikep at oeone dot com
09-Dec-2000 05:53
The documentation here is out of date. You do not pass an object, but rather you pass it the following:
(stream, startYear, startMonth, startDay, endYear, endMonth, endYear)
cmoyer at chekinc dot com
03-Aug-2000 08:04
I was under the impression that only start dates were specified with MCAL.  So any event starts and ends on the same date.