13 $result = EventTable::query()
15 ->where(
'DELETED',
'Y')
16 ->where(Query::filter()
20 [
'PARENT_ID', $entryId],
23 ->where(
'OWNER_ID', \CCalendar::GetCurUserId())
24 ->where(
'EVENT_TYPE',
'#shared#')
27 $event = $result->fetch() ?:
null;
31 $host = Sharing\Helper::getOwnerInfo((
int)$event[
"MEETING_HOST"]);
32 $event[
'HOST_NAME'] = $host[
'name'];
34 $event[
'timestampFromUTC'] = Sharing\Helper::getEventTimestampUTC($event[
'DATE_FROM'], $event[
'TZ_FROM']);
35 $event[
'timestampToUTC'] = Sharing\Helper::getEventTimestampUTC($event[
'DATE_TO'], $event[
'TZ_TO']);