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\SettingsWebclient;
9:
10: use Aurora\System\SettingsProperty;
11:
12: /**
13: * @property bool $Disabled
14: * @property array $TabsOrder
15: */
16:
17: class Settings extends \Aurora\System\Module\Settings
18: {
19: protected function initDefaults()
20: {
21: $this->aContainer = [
22: "Disabled" => new SettingsProperty(
23: false,
24: "bool",
25: null,
26: "Setting to true disables the module",
27: ),
28: "TabsOrder" => new SettingsProperty(
29: [
30: "common",
31: "mail",
32: "mail-accounts",
33: "contacts",
34: "manage-addressbooks",
35: "calendar",
36: "files",
37: "mobilesync",
38: "outlooksync",
39: "helpdesk",
40: "openpgp"
41: ],
42: "array",
43: null,
44: "Defines list of tabs and the order they're displayed in",
45: ),
46: ];
47: }
48: }
49: