-
Notifications
You must be signed in to change notification settings - Fork 2
/
Settings.php
36 lines (32 loc) · 901 Bytes
/
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
<?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\Tasks;
use Aurora\System\SettingsProperty;
/**
* @property bool $Disabled
* @property int $ItemsPerPage
*/
class Settings extends \Aurora\System\Module\Settings
{
protected function initDefaults()
{
$this->aContainer = [
"Disabled" => new SettingsProperty(
false,
"bool",
null,
"Setting to true disables the module",
),
"ItemsPerPage" => new SettingsProperty(
20,
"int",
null,
"Define number of tasks displayed per page",
),
];
}
}