PHP Manual
Prev |  | Next

# icap_store_event

(PHP 4 >= 4.0.0)

icap_store_event -- Store an event into an ICAP calendar

## Description

``string icap_store_event` (int stream_id, object event)`

icap_store_event() Stores an event into an ICAP calendar. An event object consists of:

- int public - 1 if public, 0 if private;

- string caegory - Category string of the event.

- string title - Title string of the event.

- string description - Description string of the event.

- int alarm - Number of minutes before the event to sned out an alarm.

- datetime start - datetime object of the start of the event.

- datetime end - datetime object of the end of the event.

All datetime entries consist of an object that contains:

- int year - year

- int month - month

- int mday - day of month

- int hour - hour

- int min - minutes

- int sec - seconds

Returns `TRUE` on success and `FALSE` on error.

Prev | Home | Next
icap_list_events | Up | icap_delete_event