EventConnection::convertToArray

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventConnection
  4. convertToArray
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/mappers/eventconnection.php
  • Класс: BitrixCalendarCoreMappersEventConnection
  • Вызов: EventConnection::convertToArray
private function convertToArray(SyncConnectionEventConnection $entity): array
{
	return [
		'EVENT_ID' => $entity->getEvent()->getId(),
		'CONNECTION_ID' => $entity->getConnection()->getId(),
		'VENDOR_EVENT_ID' => $entity->getVendorEventId(),
		'SYNC_STATUS' => $entity->getLastSyncStatus(),
		'RETRY_COUNT' => $entity->getRetryCount(),
		'ENTITY_TAG' => $entity->getEntityTag(),
		'VENDOR_VERSION_ID' => $entity->getVendorVersionId(),
		'VERSION' => $entity->getVersion(),
		'DATA' => $entity->getData(),
		'RECURRENCE_ID' => $entity->getRecurrenceId(),
	];
}

Добавить комментарий