-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSettings.php
58 lines (54 loc) · 1.67 KB
/
Settings.php
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
58
<?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\AdminPanelWebclient;
use Aurora\System\SettingsProperty;
/**
* @property bool $Disabled
* @property int $EntitiesPerPage
* @property array $TabsOrder
* @property array $EntitiesOrder
*/
class Settings extends \Aurora\System\Module\Settings
{
protected function initDefaults()
{
$this->aContainer = [
"Disabled" => new SettingsProperty(
false,
"bool",
null,
"Setting to true disables the module",
),
"EntitiesPerPage" => new SettingsProperty(
20,
"int",
null,
"Number of items (users, domains etc.) shown per page in admin interface",
),
"TabsOrder" => new SettingsProperty(
[
"licensing",
"admin-security",
"admin-db",
"logs-viewer",
"system",
"common",
"modules"
],
"array",
null,
"Defines list of adminpanel interface sections and the order of displaying those",
),
"EntitiesOrder" => new SettingsProperty(
[],
"array",
null,
"Defines list of top menu entries and the order of displaying those",
),
];
}
}