From 0fb8904157ea87997fa662ad2c975d773dd75455 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 4 Apr 2015 20:11:25 +0200 Subject: Implement Close-Down Page with Upcoming Event --- model/Conference.php | 4 ++++ model/Upcoming.php | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 model/Upcoming.php (limited to 'model') diff --git a/model/Conference.php b/model/Conference.php index e9e33a6..a4c14aa 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -6,6 +6,10 @@ class Conference extends ModelBase return $this->get('CONFERENCE.TITLE', 'C3Voc Streaming'); } + public function isClosed() { + return $this->get('CONFERENCE.CLOSED'); + } + public function hasAuthor() { return $this->has('CONFERENCE.AUTHOR'); } diff --git a/model/Upcoming.php b/model/Upcoming.php new file mode 100644 index 0000000..6f54814 --- /dev/null +++ b/model/Upcoming.php @@ -0,0 +1,19 @@ +