aboutsummaryrefslogtreecommitdiff
path: root/model/Conference.php
diff options
context:
space:
mode:
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');
}