-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSettings.php
More file actions
57 lines (53 loc) · 1.53 KB
/
Settings.php
File metadata and controls
57 lines (53 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* This code is licensed under AGPLv3 license or Afterlogic Software License
* if commercial version of the product was purchased.
* For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files.
*/
namespace Aurora\Modules\Google;
use Aurora\System\SettingsProperty;
/**
* @property bool $Disabled
* @property bool $EnableModule
* @property string $Id
* @property string $Secret
* @property string $Key
*/
class Settings extends \Aurora\System\Module\Settings
{
protected function initDefaults()
{
$this->aContainer = [
"Disabled" => new SettingsProperty(
false,
"bool",
null,
"Setting to true disables the module",
),
"EnableModule" => new SettingsProperty(
false,
"bool",
null,
"Setting to true allows for using and configuring the module",
),
"Id" => new SettingsProperty(
"",
"string",
null,
"App ID obtained from Google app settings",
),
"Secret" => new SettingsProperty(
"",
"string",
null,
"App secret obtained from Google app settings",
),
"Key" => new SettingsProperty(
"",
"string",
null,
"API key obtained from Google app settings",
),
];
}
}