Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс SyncAdapter

Открытые статические члены

static getSectionList ($entityType, $entityId, $params=[])
 
static getEventList ($sectionId=false, $params=[])
 
static getTaskList ($userId, $params=[])
 
static deleteEvent ($eventId, $params=[])
 

Подробное описание

См. определение в файле syncadapter.php строка 12

Методы

◆ deleteEvent()

static deleteEvent ( $eventId,
$params = [] )
static

Deletes calendar event

Аргументы
integer$eventId- id of the event.
array$paramscontains additional information.
Возвращает
true or false - result of the operation

См. определение в файле syncadapter.php строка 241

◆ getEventList()

static getEventList ( $sectionId = false,
$params = [] )
static

Returns calendar events for given section.

Аргументы
string$sectionIdid of section (collection) to select events from.
array$paramsadditional params.
Возвращает
array list of calendar events

См. определение в файле syncadapter.php строка 137

◆ getSectionList()

static getSectionList ( $entityType,
$entityId,
$params = [] )
static

Returns collection of sections for user or other entity.

Аргументы
string$entityTypeentity type (example: 'user' for user's calendars).
int$entityIdid of entity.
array$paramsadditional params.
Возвращает
array list of calendar sections

См. определение в файле syncadapter.php строка 25

◆ getTaskList()

static getTaskList ( $userId,
$params = [] )
static

Returns calendar events.

Аргументы
string$userIduser id
array$paramsadditional params.
Возвращает
array list of tasks prepared for viewing in calendar view

См. определение в файле syncadapter.php строка 214