1: <?php
2: /**
3: * Horde_ActiveSync_Message_Folder class represents a single ActiveSync Folder
4: * 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_Folder extends Horde_ActiveSync_Message_Base
12: {
13: public $serverid;
14: public $parentid;
15: public $displayname;
16: public $type;
17:
18: protected $_mapping = array (
19: Horde_ActiveSync::FOLDERHIERARCHY_SERVERENTRYID => array (self::KEY_ATTRIBUTE => 'serverid'),
20: Horde_ActiveSync::FOLDERHIERARCHY_PARENTID => array (self::KEY_ATTRIBUTE => 'parentid'),
21: Horde_ActiveSync::FOLDERHIERARCHY_DISPLAYNAME => array (self::KEY_ATTRIBUTE => 'displayname'),
22: Horde_ActiveSync::FOLDERHIERARCHY_TYPE => array (self::KEY_ATTRIBUTE => 'type')
23: );
24:
25: protected $_properties = array(
26: 'serverid' => false,
27: 'parentid' => false,
28: 'displayname' => false,
29: 'type' => false,
30: );
31:
32: public function getClass()
33: {
34: return 'Folders';
35: }
36:
37: }