aboutsummaryrefslogtreecommitdiff
path: root/model/Conference.php
diff options
context:
space:
mode:
authordedeibel2017-12-16 21:13:08 +0100
committerdedeibel2017-12-16 21:13:08 +0100
commitb422d1a3dc02374a34da7ad91415c0a78ea46f9d (patch)
tree3105911c0bb75051f576e9c43ece28c145db5a60 /model/Conference.php
parentc6d44125911ad770726f83cc4a6b971b661e02e2 (diff)
Added feature for unlisted conferences
Diffstat (limited to 'model/Conference.php')
-rw-r--r--model/Conference.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/model/Conference.php b/model/Conference.php
index 0ce0a55..099e3ce 100644
--- a/model/Conference.php
+++ b/model/Conference.php
@@ -102,6 +102,16 @@ class Conference extends ModelBase
}
}
+ public function isUnlisted() {
+ if ($this->has('CONFERENCE.UNLISTED')) {
+ $unlisted = $this->get('CONFERENCE.UNLISTED');
+ return $unlisted === true;
+ }
+ else {
+ return false;
+ }
+ }
+
public function hasAuthor() {
return $this->has('CONFERENCE.AUTHOR');
}