1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\MailSignup; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | class Module extends \Aurora\System\Module\AbstractModule |
18: | { |
19: | public function init() |
20: | { |
21: | } |
22: | |
23: | |
24: | |
25: | |
26: | |
27: | public function GetSettings() |
28: | { |
29: | \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::Anonymous); |
30: | |
31: | return [ |
32: | 'ServerModuleName' => $this->getConfig('ServerModuleName', 'MailSignup'), |
33: | 'HashModuleName' => $this->getConfig('HashModuleName', 'signup'), |
34: | 'CustomLogoUrl' => $this->getConfig('CustomLogoUrl', ''), |
35: | 'InfoText' => $this->getConfig('InfoText', ''), |
36: | 'BottomInfoHtmlText' => $this->getConfig('BottomInfoHtmlText', ''), |
37: | 'DomainList' => $this->getConfig('DomainList', []) |
38: | ]; |
39: | } |
40: | |
41: | |
42: | |
43: | |
44: | |
45: | |
46: | |
47: | |
48: | |
49: | public function Signup($Name, $Login, $Password) |
50: | { |
51: | return false; |
52: | } |
53: | } |
54: | |