From 0f15f6c48b647adbe62cc4a854c41150a45301e1 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Mon, 7 Aug 2017 11:11:45 +0300 Subject: [PATCH] interlude --- schedule/interlude.php | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 schedule/interlude.php diff --git a/schedule/interlude.php b/schedule/interlude.php new file mode 100644 index 0000000..af4ec2f --- /dev/null +++ b/schedule/interlude.php @@ -0,0 +1,51 @@ + $speakerData['first_name'] . ' ' . $speakerData['last_name'], + 'description' => $speakerData['biography'], + ]; + }, array_filter($eventData['participant_user_ids'], function($speaker_id) { + return !in_array($speaker_id, [4]); + })); + + unset($event['event_id']); + return $event; + }, $hallData); +}, $content['slots']); + +echo json_encode($events);