| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\MailSignup; |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | class Module extends \Aurora\System\Module\AbstractModule |
| 20: | { |
| 21: | public function init() {} |
| 22: | |
| 23: | |
| 24: | |
| 25: | |
| 26: | public static function getInstance() |
| 27: | { |
| 28: | return parent::getInstance(); |
| 29: | } |
| 30: | |
| 31: | |
| 32: | |
| 33: | |
| 34: | public static function Decorator() |
| 35: | { |
| 36: | return parent::Decorator(); |
| 37: | } |
| 38: | |
| 39: | |
| 40: | |
| 41: | |
| 42: | public function getModuleSettings() |
| 43: | { |
| 44: | return $this->oModuleSettings; |
| 45: | } |
| 46: | |
| 47: | |
| 48: | |
| 49: | |
| 50: | |
| 51: | public function GetSettings() |
| 52: | { |
| 53: | \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::Anonymous); |
| 54: | |
| 55: | return [ |
| 56: | 'ServerModuleName' => $this->oModuleSettings->ServerModuleName, |
| 57: | 'HashModuleName' => $this->oModuleSettings->HashModuleName, |
| 58: | 'CustomLogoUrl' => $this->oModuleSettings->CustomLogoUrl, |
| 59: | 'InfoText' => $this->oModuleSettings->InfoText, |
| 60: | 'BottomInfoHtmlText' => $this->oModuleSettings->BottomInfoHtmlText, |
| 61: | 'DomainList' => $this->oModuleSettings->DomainList |
| 62: | ]; |
| 63: | } |
| 64: | |
| 65: | |
| 66: | |
| 67: | |
| 68: | |
| 69: | |
| 70: | |
| 71: | |
| 72: | |
| 73: | public function Signup($Name, $Login, $Password) |
| 74: | { |
| 75: | return false; |
| 76: | } |
| 77: | } |
| 78: | |