1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\StandardRegisterFormWebclient; |
9: | |
10: | use Aurora\System\SettingsProperty; |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | |
18: | |
19: | |
20: | |
21: | class Settings extends \Aurora\System\Module\Settings |
22: | { |
23: | protected function initDefaults() |
24: | { |
25: | $this->aContainer = [ |
26: | "Disabled" => new SettingsProperty( |
27: | false, |
28: | "bool", |
29: | null, |
30: | "Setting to true disables the module", |
31: | ), |
32: | "ServerModuleName" => new SettingsProperty( |
33: | "StandardRegisterFormWebclient", |
34: | "string", |
35: | null, |
36: | "Defines name of the module responsible for registration page", |
37: | ), |
38: | "HashModuleName" => new SettingsProperty( |
39: | "register", |
40: | "string", |
41: | null, |
42: | "Defines URL hash used by the module", |
43: | ), |
44: | "CustomLogoUrl" => new SettingsProperty( |
45: | "", |
46: | "string", |
47: | null, |
48: | "Defines URL of logo image used on registration page", |
49: | ), |
50: | "InfoText" => new SettingsProperty( |
51: | "", |
52: | "string", |
53: | null, |
54: | "Defines additional text message shown on registration page", |
55: | ), |
56: | "BottomInfoHtmlText" => new SettingsProperty( |
57: | "", |
58: | "string", |
59: | null, |
60: | "Defines bottom text message shown on registration page", |
61: | ), |
62: | ]; |
63: | } |
64: | } |
65: | |