mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 14:44:21 +00:00
API: add additonal information, implements #18
This commit is contained in:
parent
683e13efea
commit
7e9343522b
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,7 @@ foreach (Conferences::getActiveConferences() as $conference)
|
|||
'thumb' => forceslash(baseurl()).$room->getThumb(),
|
||||
'link' => forceslash(baseurl()).$room->getLink(),
|
||||
'display' => $room->getDisplay(),
|
||||
'stream' => $room->getStream(),
|
||||
'streams' => $streams,
|
||||
);
|
||||
}
|
||||
|
@ -105,6 +106,7 @@ foreach (Conferences::getActiveConferences() as $conference)
|
|||
'author' => $conference->getAuthor(),
|
||||
'description' => $conference->getDescription(),
|
||||
'keywords' => $conference->getKeywords(),
|
||||
'schedule' => $conference->getSchedule()->getScheduleUrl(),
|
||||
'startsAt' => $conference->startsAt() ? $conference->startsAt()->format(DateTime::ISO8601) : null,
|
||||
'endsAt' => $conference->endsAt() ? $conference->endsAt()->format(DateTime::ISO8601) : null,
|
||||
'groups' => $groupstruct,
|
||||
|
|
Loading…
Reference in a new issue