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\Ios;
9:
10: use Aurora\System\SettingsProperty;
11:
12: /**
13: * @property bool $Disabled
14: * @property bool $IncludeInMobile
15: * @property bool $IncludePasswordInProfile
16: * @property bool $AllowIosProfile
17: * @property bool $SyncIosAfterLogin
18: */
19:
20: class Settings extends \Aurora\System\Module\Settings
21: {
22: protected function initDefaults()
23: {
24: $this->aContainer = [
25: "Disabled" => new SettingsProperty(
26: false,
27: "bool",
28: null,
29: "Setting to true disables the module",
30: ),
31: "IncludeInMobile" => new SettingsProperty(
32: true,
33: "bool",
34: null,
35: "If true, the module is used in mobile version of the interface",
36: ),
37: "IncludePasswordInProfile" => new SettingsProperty(
38: true,
39: "bool",
40: null,
41: "If true, password will be included when offering iOS profile download",
42: ),
43: "AllowIosProfile" => new SettingsProperty(
44: true,
45: "bool",
46: null,
47: "",
48: ),
49: "SyncIosAfterLogin" => new SettingsProperty(
50: true,
51: "bool",
52: null,
53: "",
54: ),
55: ];
56: }
57: }
58: