aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/Conferences.php2
-rw-r--r--model/GenericConference.php67
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;
+ }
+}