1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\Ios; |
9: | |
10: | use Aurora\System\SettingsProperty; |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | |
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: | |