1: <?php
2: /**
3: * Horde_ActiveSync_Message_Attendee class represents a single ActiveSync
4: * Attendee sub-object.
5: *
6: * Copyright 2010-2012 Horde LLC (http://www.horde.org/)
7: *
8: * @author Michael J. Rubinsky <mrubinsk@horde.org>
9: * @package ActiveSync
10: */
11: class Horde_ActiveSync_Message_Attendee extends Horde_ActiveSync_Message_Base
12: {
13: /* Attendee Type Constants */
14: const TYPE_REQUIRED = 1;
15: const TYPE_OPTIONAL = 2;
16: const TYPE_RESOURCE = 3;
17:
18: /* Attendee Status */
19: const STATUS_UNKNOWN = 0;
20: const STATUS_TENTATIVE = 2;
21: const STATUS_ACCEPT = 3;
22: const STATUS_DECLINE = 4;
23: const STATUS_NORESPONSE = 5;
24:
25:
26: protected $_mapping = array(
27: Horde_ActiveSync_Message_Appointment::POOMCAL_EMAIL => array (self::KEY_ATTRIBUTE => 'email'),
28: Horde_ActiveSync_Message_Appointment::POOMCAL_NAME => array (self::KEY_ATTRIBUTE => 'name'),
29: Horde_ActiveSync_Message_Appointment::POOMCAL_ATTENDEESTATUS => array(self::KEY_ATTRIBUTE => 'status'),
30: Horde_ActiveSync_Message_Appointment::POOMCAL_ATTENDEETYPE => array(self::KEY_ATTRIBUTE => 'type')
31: );
32:
33: protected $_properties = array(
34: 'email' => false,
35: 'name' => false,
36: 'status' => false,
37: 'type' => false
38: );
39:
40: }