1: <?php
2: /**
3: * This code is licensed under AGPLv3 license or Afterlogic Software License
4: * if commercial version of the product was purchased.
5: * For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files.
6: */
7:
8: namespace Aurora\Modules\Mail\Enums;
9:
10: /**
11: * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
12: * @license https://afterlogic.com/products/common-licensing Afterlogic Software License
13: * @copyright Copyright (c) 2023, Afterlogic Corp.
14: *
15: * @package Api
16: * @subpackage Enum
17: */
18: class FolderType extends \Aurora\System\Enums\AbstractEnumeration
19: {
20: public const Inbox = 1;
21: public const Sent = 2;
22: public const Drafts = 3;
23: public const Spam = 4;
24: public const Trash = 5;
25: public const Virus = 6;
26: public const Template = 8;
27: public const System = 9;
28: public const Custom = 10;
29: public const All = 11;
30:
31: /**
32: * @var array
33: */
34: protected $aConsts = array(
35: 'Inbox' => self::Inbox,
36: 'Sent' => self::Sent,
37: 'Drafts' => self::Drafts,
38: 'Spam' => self::Spam,
39: 'Trash' => self::Trash,
40: 'Quarantine' => self::Virus,
41: 'System' => self::System,
42: 'Custom' => self::Custom,
43: 'All' => self::All
44: );
45: }
46: