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\MobileSync;
9:
10: /**
11: * Allows for syncing data with mobile devices or any application/platform which offers CalDAV/CardDAV support.
12: *
13: * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
14: * @license https://afterlogic.com/products/common-licensing Afterlogic Software License
15: * @copyright Copyright (c) 2023, Afterlogic Corp.
16: *
17: * @package Modules
18: */
19: class Module extends \Aurora\System\Module\AbstractModule
20: {
21: public function init()
22: {
23: }
24:
25: /***** public functions might be called with web API *****/
26: /**
27: * Collects the information about mobile sync from other modules and returns it.
28: *
29: * @return array
30: */
31: public function GetInfo()
32: {
33: \Aurora\System\Api::checkUserRoleIsAtLeast(\Aurora\System\Enums\UserRole::NormalUser);
34:
35: $mResult = array();
36: $aArgs = array();
37: $this->broadcastEvent(
38: 'GetInfo',
39: $aArgs,
40: $mResult
41: );
42:
43: return $mResult;
44: }
45: /***** public functions might be called with web API *****/
46: }
47: