diff options
author | MaZderMind | 2015-11-08 15:15:53 +0100 |
---|---|---|
committer | MaZderMind | 2015-11-08 15:15:53 +0100 |
commit | a0b2129479ba10561811847c0651df8b55c8a6ba (patch) | |
tree | 2177365d737a24453783107697d19e712330f66d /model | |
parent | efe1f83a7cc419df700dfe36ef11da20607d8eae (diff) |
Support an All-Conference-Closed Screen and mutliple Schedules & Relive-URLs
Diffstat (limited to 'model')
-rw-r--r-- | model/Conferences.php | 2 | ||||
-rw-r--r-- | model/GenericConference.php | 67 |
2 files changed, 68 insertions, 1 deletions
diff --git a/model/Conferences.php b/model/Conferences.php index 05d3c52..9f87388 100644 --- a/model/Conferences.php +++ b/model/Conferences.php @@ -54,6 +54,6 @@ class Conferences extends ModelBase public static function load($mandator) { $GLOBALS['MANDATOR'] = $mandator; - include(forceslash(Conferences::MANDATOR_DIR).forceslash($mandator).'config.php'); + require(forceslash(Conferences::MANDATOR_DIR).forceslash($mandator).'config.php'); } } diff --git a/model/GenericConference.php b/model/GenericConference.php new file mode 100644 index 0000000..949766f --- /dev/null +++ b/model/GenericConference.php @@ -0,0 +1,67 @@ +<?php + +class GenericConference extends Conference +{ + public function getTitle() { + return 'C3Voc Streaming'; + } + + public function hasBegun() { + return true; + } + + public function hasEnded() { + return true; + } + + public function hasAuthor() { + return true; + } + public function getAuthor() { + return 'C3Voc'; + } + + public function hasDescription() { + return true; + } + public function getDescription() { + return 'Video Live-Streaming of the CCC'; + } + + public function hasKeywords() { + return true; + } + public function getKeywords() { + return 'Video, Media, Streaming, VOC, C3Voc, CCC'; + } + + + + public function hasReleases() { + return true; + } + public function getReleasesUrl() { + return '//media.ccc.de/'; + } + + public function hasRelive() { + return false; + } + public function getReliveUrl() { + return null; + } + + public function hasBannerHtml() { + return false; + } + public function getBannerHtml() { + return null; + } + + public function hasFooterHtml() { + return false; + } + public function getFooterHtml() { + return null; + } +} |