mcal_append_event

(PHP 4, PECL)

mcal_append_event -- Store a new event into an MCAL calendar

Description

int mcal_append_event ( int mcal_stream )

mcal_append_event() stores the global event into an MCAL calendar for the stream mcal_stream.

Returns the id of the newly inserted event.



mcal_append_event
php at markbach dot com
17-Jun-2004 09:33
It appears that MCAL uses the current time (seconds since the epoch) as the "unique" ID when inserting new events into the calendar.  Thus, if you try to insert several events at once, it will not work correctly unless you wait at least one second between calling mcal-append-event().

This is with libmcal 0.6 and PHP 4.3.4.

<MCALmcal_close>
 Last updated: Tue, 15 Nov 2005