diff options
author | dedeibel | 2017-12-16 21:13:08 +0100 |
---|---|---|
committer | dedeibel | 2017-12-16 21:13:08 +0100 |
commit | b422d1a3dc02374a34da7ad91415c0a78ea46f9d (patch) | |
tree | 3105911c0bb75051f576e9c43ece28c145db5a60 /model/Conference.php | |
parent | c6d44125911ad770726f83cc4a6b971b661e02e2 (diff) |
Added feature for unlisted conferences
Diffstat (limited to 'model/Conference.php')
-rw-r--r-- | model/Conference.php | 10 |
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'); } |