Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
helper.php
1<?php
2
4
5class Helper
6{
7 public const CALDAV_TYPE = 'caldav';
8 public const YANDEX_TYPE = 'yandex';
9 public const EXCHANGE_TYPE = 'exchange';
10
11
16 public function isYandex(?string $serverHost): bool
17 {
18 return $serverHost === 'caldav.yandex.ru';
19 }
20}
isYandex(?string $serverHost)
Definition helper.php:16