Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
helper.php
1<?php
2
4
5class Helper
6{
7 public const SERVER_PATH = 'https://caldav.icloud.com/';
8 public const ACCOUNT_TYPE = 'icloud';
9 public const CONNECTION_NAME = 'ICloud (#NAME#)';
10
11 public const EXCLUDED_CALENDARS = [
12 'inbox',
13 'outbox',
14 'notification',
15 'tasks',
16 'calendars',
17 ];
18
23 public function isVendorConnection(string $accountType): bool
24 {
25 return $accountType === self::ACCOUNT_TYPE;
26 }
27}
isVendorConnection(string $accountType)
Definition helper.php:23