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\PersonalFiles;
9:
10: use Aurora\System\SettingsProperty;
11:
12: /**
13: * @property bool $Disabled
14: * @property int $UserSpaceLimitMb
15: */
16:
17: class Settings extends \Aurora\System\Module\Settings
18: {
19: protected function initDefaults()
20: {
21: $this->aContainer = [
22: "Disabled" => new SettingsProperty(
23: false,
24: "bool",
25: null,
26: "Setting to true disables the module",
27: ),
28: "UserSpaceLimitMb" => new SettingsProperty(
29: 100,
30: "int",
31: null,
32: "Defines a default filesystem quota for user account, in Mbytes",
33: ),
34: "ShowSharedFilesInPersonalStorage" => new SettingsProperty(
35: true,
36: "bool",
37: null,
38: "Setting to true show shared with me files in personal storage",
39: ),
40: ];
41: }
42: }
43: