|
| __construct (array $server=[], int $userId=null) |
|
| getPrinciples ($connection, $server) |
|
| getCalendarPath ($connection, $server) |
|
| getCalendarList ($connection, $server) |
|
| createEvent (string $path, Event $event) |
|
| updateEvent (string $path, Event $event, ?array $data) |
|
| deleteEvent (string $path, Event $event) |
|
| saveInstance (string $path, Event $event, ?array $data, Date $excludeDate=null) |
|
| saveRecurrence (string $path, SyncEvent $recurrenceEvent) |
|
| createSection (string $path, Section $section) |
|
| updateSection (string $path, Section $section) |
|
| deleteSection (string $path) |
|
| getSectionsList ($path) |
|
| getEventsList ($path, $syncToken) |
|
| getEventsListWithHref ($path, $hrefs) |
|
| prepareUrl (string $url) |
|
| getError () |
|
См. определение в файле apiservice.php строка 15
◆ __construct()
__construct |
( |
array |
$server = [] , |
|
|
int |
$userId = null |
|
) |
| |
- Аргументы
-
array | $server | |
int | null | $userId | |
- Исключения
-
Bitrix\Main\ArgumentNullException
- Аргументы
-
- Исключения
-
BaseException | |
LoaderException | |
RemoteAccountException | |
AuthException | |
См. определение в файле apiservice.php строка 32
◆ createEvent()
createEvent |
( |
string |
$path, |
|
|
Event |
$event |
|
) |
| |
- Аргументы
-
- Возвращает
- array|null
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\LoaderException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле apiservice.php строка 157
◆ createSection()
createSection |
( |
string |
$path, |
|
|
Section |
$section |
|
) |
| |
- Аргументы
-
string | $path | |
Section | $section | |
- Возвращает
- array|null
- Исключения
-
Bitrix\Main\LoaderException
См. определение в файле apiservice.php строка 285
◆ deleteEvent()
deleteEvent |
( |
string |
$path, |
|
|
Event |
$event |
|
) |
| |
- Аргументы
-
- Возвращает
- bool|null
- Исключения
-
Bitrix\Main\LoaderException
См. определение в файле apiservice.php строка 201
◆ deleteSection()
deleteSection |
( |
string |
$path | ) |
|
- Аргументы
-
- Возвращает
- bool|null
- Исключения
-
Bitrix\Main\LoaderException
См. определение в файле apiservice.php строка 354
◆ getCalendarList()
getCalendarList |
( |
|
$connection, |
|
|
|
$server |
|
) |
| |
◆ getCalendarPath()
getCalendarPath |
( |
|
$connection, |
|
|
|
$server |
|
) |
| |
- Аргументы
-
- Возвращает
- string|null
- Исключения
-
Bitrix\Main\ArgumentNullException
См. определение в файле apiservice.php строка 92
◆ getError()
◆ getEventsList()
getEventsList |
( |
|
$path, |
|
|
|
$syncToken |
|
) |
| |
◆ getEventsListWithHref()
getEventsListWithHref |
( |
|
$path, |
|
|
|
$hrefs |
|
) |
| |
◆ getPrinciples()
getPrinciples |
( |
|
$connection, |
|
|
|
$server |
|
) |
| |
- Аргументы
-
- Возвращает
- string|null
- Исключения
-
Bitrix\Main\ArgumentNullException
См. определение в файле apiservice.php строка 56
◆ getSectionsList()
◆ prepareUrl()
prepareUrl |
( |
string |
$url | ) |
|
◆ saveInstance()
saveInstance |
( |
string |
$path, |
|
|
Event |
$event, |
|
|
?array |
$data, |
|
|
Date |
$excludeDate = null |
|
) |
| |
- Аргументы
-
string | $path | |
Event | $event | |
array | null | $data | |
Date | null | $excludeDate | |
- Возвращает
- array|null
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\LoaderException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле apiservice.php строка 241
◆ saveRecurrence()
saveRecurrence |
( |
string |
$path, |
|
|
SyncEvent |
$recurrenceEvent |
|
) |
| |
- Аргументы
-
string | $path | |
SyncEvent | $recurrenceEvent | |
- Возвращает
- array|null
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\LoaderException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле apiservice.php строка 265
◆ updateEvent()
updateEvent |
( |
string |
$path, |
|
|
Event |
$event, |
|
|
?array |
$data |
|
) |
| |
- Аргументы
-
string | $path | |
Event | $event | |
array | null | $data | |
- Возвращает
- array|null
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\LoaderException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле apiservice.php строка 176
◆ updateSection()
updateSection |
( |
string |
$path, |
|
|
Section |
$section |
|
) |
| |
- Аргументы
-
string | $path | |
Section | $section | |
- Возвращает
- array|int[]|null
- Исключения
-
Bitrix\Main\LoaderException
См. определение в файле apiservice.php строка 317
◆ $apiClient
◆ $davClient
CDavGroupdavClientCalendar $davClient = null |
|
protected |
◆ $error
◆ $helper