[ Pobierz całość w formacie PDF ]
.
icap_open() opens up an ICAP connection to thespecified calendar store.If the optionaloptions is specified, passes theoptions to that mailbox also.icap_close (unknown)icap_close -- Close an ICAP streamDescriptionint icap_close (int icap_stream [, intflags])Closes the given icap stream.icap_fetch_event (PHP4 >= 4.0b4)icap_fetch_event -- Fetches an event from the calendar stream/Descriptionint icap_fetch_event (int stream_id, int event_id [, intoptions])Icap_fetch_event() fetches an event from thecalendar stream specified by event_id.
Returns an event object consisting of:
int id - ID of that event.
int public - TRUE if the event if public, FALSE if it is private.
string category - 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 send analarm/reminder.
object start - Object containing a datetime entry.
object end - Object containing a datetime entry.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 - secondsicap_list_events (PHP4 >= 4.0RC1)icap_list_events -- Return a list of events between two given datetimesDescriptionarray icap_list_events (int stream_id, int begin_date [, intend_date])
Returns an array of event ID's that are between the two givendatetimes.Icap_list_events() function takes in abeginning datetime and an end datetime for a calendar stream.Anarray of event id's that are between the given datetimes arereturned.
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 - secondsicap_store_event (PHP4 >= 4.0b4)icap_store_event -- Store an event into an ICAP calendarDescriptionstring icap_store_event (int stream_id, object event)Icap_store_event() Stores an event intoan 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.icap_delete_event (PHP4 >= 4.0b4)icap_delete_event -- Delete an event from an ICAP calendarDescriptionstring icap_delete_event (int sream_id, int uid)Icap_delete_event() deletes the calendar eventspecified by the uid.
Returns true.icap_snooze (PHP4 >= 4.0b4)icap_snooze -- Snooze an alarmDescriptionstring icap_snooze (int stream_id, int uid)Icap_snooze() turns on an alarm for acalendar event specified by the uid.
Returns true.icap_list_alarms (PHP4 >= 4.0b4)icap_list_alarms -- Return a list of events that has an alarm triggered at the givendatetimeDescriptionint icap_list_alarms (int stream_id, array date, array time)
Returns an array of event ID's that has an alarm going off at thegiven datetime.Icap_list_alarms() function takes in adatetime for a calendar stream
[ Pobierz całość w formacie PDF ]