1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\MobileAppsWebclient; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | class Module extends \Aurora\System\Module\AbstractWebclientModule |
18: | { |
19: | |
20: | |
21: | |
22: | |
23: | |
24: | |
25: | public function GetSettings() |
26: | { |
27: | \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::Anonymous); |
28: | |
29: | return array( |
30: | 'FilesSectionName' => $this->getConfig('FilesSectionName', ''), |
31: | 'ShowFilesServerUrlApp' => $this->getConfig('ShowFilesServerUrlApp', false), |
32: | 'ShowFilesAndroidApp' => $this->getConfig('ShowFilesAndroidApp', false), |
33: | 'FilesAndroidAppLink' => $this->getConfig('FilesAndroidAppLink', ''), |
34: | 'ShowFilesIosApp' => $this->getConfig('ShowFilesIosApp', false), |
35: | 'FilesIosAppLink' => $this->getConfig('FilesIosAppLink', ''), |
36: | 'ShowFilesWinApp' => $this->getConfig('ShowFilesWinApp', false), |
37: | 'FilesWinAppLink' => $this->getConfig('FilesWinAppLink', ''), |
38: | 'MailSectionName' => $this->getConfig('MailSectionName', ''), |
39: | 'ShowMailServerUrlApp' => $this->getConfig('ShowMailServerUrlApp', false), |
40: | 'ShowMailAndroidApp' => $this->getConfig('ShowMailAndroidApp', false), |
41: | 'MailAndroidAppLink' => $this->getConfig('MailAndroidAppLink', ''), |
42: | 'ShowMailIosApp' => $this->getConfig('ShowMailIosApp', false), |
43: | 'MailIosAppLink' => $this->getConfig('MailIosAppLink', ''), |
44: | ); |
45: | } |
46: | } |
47: | |