1: | <?php |
2: | /** |
3: | * This code is licensed under AGPLv3 license or Afterlogic Software License |
4: | * if commercial version of the product was purchased. |
5: | * For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files. |
6: | */ |
7: | |
8: | namespace Aurora\Modules\OutlookSyncWebclient; |
9: | |
10: | /** |
11: | * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0 |
12: | * @license https://afterlogic.com/products/common-licensing Afterlogic Software License |
13: | * @copyright Copyright (c) 2023, Afterlogic Corp. |
14: | * |
15: | * @package Modules |
16: | */ |
17: | class Module extends \Aurora\System\Module\AbstractWebclientModule |
18: | { |
19: | /***** public functions might be called with web API *****/ |
20: | /** |
21: | * Obtains list of module settings for authenticated user. |
22: | * |
23: | * @return array |
24: | */ |
25: | public function GetSettings() |
26: | { |
27: | \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::Anonymous); |
28: | |
29: | return array( |
30: | 'PluginDownloadLink' => $this->getConfig('PluginDownloadLink', ''), |
31: | 'PluginReadMoreLink' => $this->getConfig('PluginReadMoreLink', '') |
32: | ); |
33: | } |
34: | /***** public functions might be called with web API *****/ |
35: | } |
36: |