Russian Ukraine English
Catalog RSS


icap_store_event

(PHP 4 >= 4.0b4)

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.

Led