1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10:
11: class Horde_ActiveSync_Message_Exception extends Horde_ActiveSync_Message_Appointment
12: {
13: protected $_mapping = array(
14: Horde_ActiveSync_Message_Appointment::POOMCAL_TIMEZONE => array(self::KEY_ATTRIBUTE => 'timezone'),
15: Horde_ActiveSync_Message_Appointment::POOMCAL_DTSTAMP => array(self::KEY_ATTRIBUTE => 'dtstamp', self::KEY_TYPE => self::TYPE_DATE),
16: Horde_ActiveSync_Message_Appointment::POOMCAL_STARTTIME => array(self::KEY_ATTRIBUTE => 'starttime', self::KEY_TYPE => self::TYPE_DATE),
17: Horde_ActiveSync_Message_Appointment::POOMCAL_SUBJECT => array(self::KEY_ATTRIBUTE => 'subject'),
18: Horde_ActiveSync_Message_Appointment::POOMCAL_ORGANIZERNAME => array(self::KEY_ATTRIBUTE => 'organizername'),
19: Horde_ActiveSync_Message_Appointment::POOMCAL_LOCATION => array(self::KEY_ATTRIBUTE => 'location'),
20: Horde_ActiveSync_Message_Appointment::POOMCAL_ENDTIME => array(self::KEY_ATTRIBUTE => 'endtime', self::KEY_TYPE => self::TYPE_DATE),
21: Horde_ActiveSync_Message_Appointment::POOMCAL_SENSITIVITY => array(self::KEY_ATTRIBUTE => 'sensitivity'),
22: Horde_ActiveSync_Message_Appointment::POOMCAL_BUSYSTATUS => array(self::KEY_ATTRIBUTE => 'busystatus'),
23: Horde_ActiveSync_Message_Appointment::POOMCAL_ALLDAYEVENT => array(self::KEY_ATTRIBUTE => 'alldayevent'),
24: Horde_ActiveSync_Message_Appointment::POOMCAL_REMINDER => array(self::KEY_ATTRIBUTE => 'reminder'),
25: Horde_ActiveSync_Message_Appointment::POOMCAL_RTF => array(self::KEY_ATTRIBUTE => 'rtf'),
26: Horde_ActiveSync_Message_Appointment::POOMCAL_MEETINGSTATUS => array(self::KEY_ATTRIBUTE => 'meetingstatus'),
27: Horde_ActiveSync_Message_Appointment::POOMCAL_ATTENDEES => array(self::KEY_ATTRIBUTE => 'attendees', self::KEY_TYPE => 'Horde_ActiveSync_Message_Attendee', self::KEY_VALUES => Horde_ActiveSync_Message_Appointment::POOMCAL_ATTENDEE),
28: Horde_ActiveSync_Message_Appointment::POOMCAL_BODY => array(self::KEY_ATTRIBUTE => 'body'),
29: Horde_ActiveSync_Message_Appointment::POOMCAL_CATEGORIES => array(self::KEY_ATTRIBUTE => 'categories', self::KEY_VALUES => Horde_ActiveSync_Message_Appointment::POOMCAL_CATEGORY),
30: Horde_ActiveSync_Message_Appointment::POOMCAL_EXCEPTIONSTARTTIME => array(self::KEY_ATTRIBUTE => 'exceptionstarttime', self::KEY_TYPE => self::TYPE_DATE),
31: Horde_ActiveSync_Message_Appointment::POOMCAL_DELETED => array(self::KEY_ATTRIBUTE => 'deleted'),
32: );
33:
34: protected $_properties = array(
35: 'timezone' => false,
36: 'dtstamp' => false,
37: 'starttime' => false,
38: 'subject' => false,
39: 'organizername' => false,
40: 'location' => false,
41: 'endtime' => false,
42: 'sensitivity' => false,
43: 'busystatus' => false,
44: 'alldayevent' => false,
45: 'reminder' => false,
46: 'rtf' => false,
47: 'meetingstatus' => false,
48: 'body' => false,
49: 'exceptionstarttime' => false,
50: 'deleted' => false,
51: );
52:
53: 54: 55: 56: 57:
58: public function setDeletedFlag($flag)
59: {
60: $this->_properties['deleted'] = $flag;
61: }
62:
63: 64: 65: 66: 67: 68: 69: 70: 71:
72: public function getExceptionStartTime()
73: {
74: return $this->_getAttribute('exceptionstarttime');
75: }
76:
77: public function setExceptionStartTime($date)
78: {
79: $this->exceptionstarttime = $date;
80: }
81:
82: }
83: