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\Facebook;
9:
10: use Aurora\System\SettingsProperty;
11:
12: /**
13: * @property bool $Disabled
14: * @property bool $EnableModule
15: * @property string $Id
16: * @property string $Secret
17: */
18:
19: class Settings extends \Aurora\System\Module\Settings
20: {
21: protected function initDefaults()
22: {
23: $this->aContainer = [
24: "Disabled" => new SettingsProperty(
25: false,
26: "bool",
27: null,
28: "Setting to true disables the module",
29: ),
30: "EnableModule" => new SettingsProperty(
31: false,
32: "bool",
33: null,
34: "Setting to true allows for using and configuring the module",
35: ),
36: "Id" => new SettingsProperty(
37: "",
38: "string",
39: null,
40: "App ID obtained from Facebook Developer console",
41: ),
42: "Secret" => new SettingsProperty(
43: "",
44: "string",
45: null,
46: "App Secret obtained from Facebook Developer console",
47: ),
48: ];
49: }
50: }
51: