diff options
Diffstat (limited to '')
-rw-r--r-- | model/Room.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php index 782c91d..b20a0f0 100644 --- a/model/Room.php +++ b/model/Room.php @@ -159,6 +159,10 @@ class Room return $this->getConference()->get('ROOMS.'.$this->getSlug().'.MUSIC'); } + public function hasDash() { + return $this->getConference()->get('ROOMS.'.$this->getSlug().'.DASH'); + } + public function hasTranslation() { return $this->getConference()->get('ROOMS.'.$this->getSlug().'.TRANSLATION'); } @@ -181,6 +185,9 @@ class Room if($this->hasMusic()) $selections[] = 'music'; + if($this->hasDash()) + $selections[] = 'dash'; + return $selections; } @@ -199,6 +206,9 @@ class Room if($this->hasMusic()) $tabs[] = 'music'; + if($this->hasDash()) + $tabs[] = 'dash'; + return $tabs; } |