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\StandardRegisterFormWebclient;
9:
10: use Aurora\System\SettingsProperty;
11:
12: /**
13: * @property bool $Disabled
14: * @property string $ServerModuleName
15: * @property string $HashModuleName
16: * @property string $CustomLogoUrl
17: * @property string $InfoText
18: * @property string $BottomInfoHtmlText
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: