mcal_list_events

(3.0.13 - 3.0.18 only, PHP 4 >= 4.0.0)

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

Description

array mcal_list_events (int mcal_stream, objectbegin_date [, object end_date])

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() function 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.