1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\MobileAppsWebclient; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | |
18: | |
19: | class Module extends \Aurora\System\Module\AbstractWebclientModule |
20: | { |
21: | |
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: | |
52: | public function GetSettings() |
53: | { |
54: | \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::Anonymous); |
55: | |
56: | return array( |
57: | 'FilesSectionName' => $this->oModuleSettings->FilesSectionName, |
58: | 'ShowFilesServerUrlApp' => $this->oModuleSettings->ShowFilesServerUrlApp, |
59: | 'ShowFilesAndroidApp' => $this->oModuleSettings->ShowFilesAndroidApp, |
60: | 'FilesAndroidAppLink' => $this->oModuleSettings->FilesAndroidAppLink, |
61: | 'ShowFilesIosApp' => $this->oModuleSettings->ShowFilesIosApp, |
62: | 'FilesIosAppLink' => $this->oModuleSettings->FilesIosAppLink, |
63: | 'ShowFilesWinApp' => $this->oModuleSettings->ShowFilesWinApp, |
64: | 'FilesWinAppLink' => $this->oModuleSettings->FilesWinAppLink, |
65: | 'MailSectionName' => $this->oModuleSettings->MailSectionName, |
66: | 'ShowMailServerUrlApp' => $this->oModuleSettings->ShowMailServerUrlApp, |
67: | 'ShowMailAndroidApp' => $this->oModuleSettings->ShowMailAndroidApp, |
68: | 'MailAndroidAppLink' => $this->oModuleSettings->MailAndroidAppLink, |
69: | 'ShowMailIosApp' => $this->oModuleSettings->ShowMailIosApp, |
70: | 'MailIosAppLink' => $this->oModuleSettings->MailIosAppLink, |
71: | ); |
72: | } |
73: | } |
74: | |