1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\MailChangePasswordPoppassdExtendedPlugin; |
9: | |
10: | use Aurora\System\SettingsProperty; |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
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: | "SupportedServers" => new SettingsProperty( |
31: | [ |
32: | "*" |
33: | ], |
34: | "array", |
35: | null, |
36: | "If IMAP Server value of the mailserver is in this list, password change is enabled for it. * enables it for all the servers.", |
37: | ), |
38: | "Host" => new SettingsProperty( |
39: | "127.0.0.1", |
40: | "string", |
41: | null, |
42: | "Defines hostname used to connect to POPPASSD service", |
43: | ), |
44: | "Port" => new SettingsProperty( |
45: | 106, |
46: | "int", |
47: | null, |
48: | "Defines port number used to connect to POPPASSD service", |
49: | ), |
50: | ]; |
51: | } |
52: | } |
53: | |