/** * Constructor * @param resource $store MAPI Message Store Object * @param resource $message the MAPI (appointment) message */ function __construct($store, $message) { $properties = array(); $properties["entryid"] = PR_ENTRYID; $properties["parent_entryid"] = PR_PARENT_ENTRYID; $properties["message_class"] = PR_MESSAGE_CLASS; $properties["icon_index"] = PR_ICON_INDEX; $properties["subject"] = PR_SUBJECT; $properties["display_to"] = PR_DISPLAY_TO; $properties["importance"] = PR_IMPORTANCE; $properties["sensitivity"] = PR_SENSITIVITY; $properties["startdate"] = "PT_SYSTIME:PSETID_Appointment:0x820d"; $properties["duedate"] = "PT_SYSTIME:PSETID_Appointment:0x820e"; $properties["recurring"] = "PT_BOOLEAN:PSETID_Appointment:0x8223"; $properties["recurring_data"] = "PT_BINARY:PSETID_Appointment:0x8216"; $properties["busystatus"] = "PT_LONG:PSETID_Appointment:0x8205"; $properties["label"] = "PT_LONG:PSETID_Appointment:0x8214"; $properties["alldayevent"] = "PT_BOOLEAN:PSETID_Appointment:0x8215"; $properties["private"] = "PT_BOOLEAN:PSETID_Common:0x8506"; $properties["meeting"] = "PT_LONG:PSETID_Appointment:0x8217"; $properties["startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8235"; $properties["enddate_recurring"] = "PT_SYSTIME:PSETID_Appointment:0x8236"; $properties["recurring_pattern"] = "PT_STRING8:PSETID_Appointment:0x8232"; $properties["location"] = "PT_STRING8:PSETID_Appointment:0x8208"; $properties["duration"] = "PT_LONG:PSETID_Appointment:0x8213"; $properties["responsestatus"] = "PT_LONG:PSETID_Appointment:0x8218"; $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:0x8503"; $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:0x8501"; $properties["recurrencetype"] = "PT_LONG:PSETID_Appointment:0x8231"; $properties["contacts"] = "PT_MV_STRING8:PSETID_Common:0x853a"; $properties["contacts_string"] = "PT_STRING8:PSETID_Common:0x8586"; $properties["categories"] = "PT_MV_STRING8:PS_PUBLIC_STRINGS:Keywords"; $properties["reminder_time"] = "PT_SYSTIME:PSETID_Common:0x8502"; $properties["commonstart"] = "PT_SYSTIME:PSETID_Common:0x8516"; $properties["commonend"] = "PT_SYSTIME:PSETID_Common:0x8517"; $properties["basedate"] = "PT_SYSTIME:PSETID_Appointment:0x8228"; $properties["timezone_data"] = "PT_BINARY:PSETID_Appointment:0x8233"; $properties["timezone"] = "PT_STRING8:PSETID_Appointment:0x8234"; $properties["flagdueby"] = "PT_SYSTIME:PSETID_Common:0x8560"; $properties["side_effects"] = "PT_LONG:PSETID_Common:0x8510"; $properties["hideattachments"] = "PT_BOOLEAN:PSETID_Common:0x8514"; $this->proptags = getPropIdsFromStrings($store, $properties); parent::__construct($store, $message); }
function __construct($store, $message) { $this->store = $store; $this->message = $message; $properties = array(); $properties["entryid"] = PR_ENTRYID; $properties["parent_entryid"] = PR_PARENT_ENTRYID; $properties["icon_index"] = PR_ICON_INDEX; $properties["message_class"] = PR_MESSAGE_CLASS; $properties["message_flags"] = PR_MESSAGE_FLAGS; $properties["subject"] = PR_SUBJECT; $properties["importance"] = PR_IMPORTANCE; $properties["sensitivity"] = PR_SENSITIVITY; $properties["last_modification_time"] = PR_LAST_MODIFICATION_TIME; $properties["status"] = "PT_LONG:PSETID_Task:0x8101"; $properties["percent_complete"] = "PT_DOUBLE:PSETID_Task:0x8102"; $properties["startdate"] = "PT_SYSTIME:PSETID_Task:0x8104"; $properties["duedate"] = "PT_SYSTIME:PSETID_Task:0x8105"; $properties["reset_reminder"] = "PT_BOOLEAN:PSETID_Task:0x8107"; $properties["dead_occurrence"] = "PT_BOOLEAN:PSETID_Task:0x8109"; $properties["datecompleted"] = "PT_SYSTIME:PSETID_Task:0x810f"; $properties["recurring_data"] = "PT_BINARY:PSETID_Task:0x8116"; $properties["actualwork"] = "PT_LONG:PSETID_Task:0x8110"; $properties["totalwork"] = "PT_LONG:PSETID_Task:0x8111"; $properties["complete"] = "PT_BOOLEAN:PSETID_Task:0x811c"; $properties["task_f_creator"] = "PT_BOOLEAN:PSETID_Task:0x811e"; $properties["owner"] = "PT_STRING8:PSETID_Task:0x811f"; $properties["recurring"] = "PT_BOOLEAN:PSETID_Task:0x8126"; $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:0x8501"; $properties["reminder_time"] = "PT_SYSTIME:PSETID_Common:0x8502"; $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:0x8503"; $properties["private"] = "PT_BOOLEAN:PSETID_Common:0x8506"; $properties["contacts"] = "PT_MV_STRING8:PSETID_Common:0x853a"; $properties["contacts_string"] = "PT_STRING8:PSETID_Common:0x8586"; $properties["categories"] = "PT_MV_STRING8:PS_PUBLIC_STRINGS:Keywords"; $properties["commonstart"] = "PT_SYSTIME:PSETID_Common:0x8516"; $properties["commonend"] = "PT_SYSTIME:PSETID_Common:0x8517"; $properties["commonassign"] = "PT_LONG:PSETID_Common:0x8518"; $properties["flagdueby"] = "PT_SYSTIME:PSETID_Common:0x8560"; $properties["side_effects"] = "PT_LONG:PSETID_Common:0x8510"; $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:0x8503"; $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:0x8501"; $this->proptags = getPropIdsFromStrings($store, $properties); parent::__construct($store, $message, $properties); }