| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\LicensingWebclient; |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | class Module extends \Aurora\System\Module\AbstractWebclientModule |
| 18: | { |
| 19: | protected $LicenseKey = null; |
| 20: | |
| 21: | public function GetSettings() |
| 22: | { |
| 23: | \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::SuperAdmin); |
| 24: | |
| 25: | $aModuleSettings = array( |
| 26: | 'TrialKeyLink' => $this->getConfig('TrialKeyLink', false), |
| 27: | 'PermanentKeyLink' => $this->getConfig('PermanentKeyLink', false) |
| 28: | ); |
| 29: | |
| 30: | return $aModuleSettings; |
| 31: | } |
| 32: | } |
| 33: | |