blob: 19346fd2387747af258650bca691b6f912aeb478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
$schedule = $conference->getSchedule();
if(!$schedule->isEnabled())
throw new NotFoundException('Schedule is disabled');
header('Content-Type: application/json');
if($conference->isClosed())
echo '{}';
else
echo json_encode($schedule->getSchedule(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|