aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to 'model/Room.php')
-rw-r--r--model/Room.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index 21a05a9..cfc14c1 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -67,6 +67,16 @@ class Room
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.DISPLAY', $this->getSlug());
}
+ public function getDisplayShort() {
+ $display_short = $this->getConference()->get('ROOMS.'.$this->getSlug().'.DISPLAY_SHORT', $this->getSlug());
+ if (empty($display_short)) {
+ return $this->getDisplay();
+ }
+ else {
+ return $display_short;
+ }
+ }
+
public function hasStereo() {