aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index df3d92c..3baa0cf 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -174,6 +174,10 @@ class Room extends ModelBase
return $this->get('ROOMS.'.$this->getSlug().'.MUSIC');
}
+ public function hasDash() {
+ return $this->get('ROOMS.'.$this->getSlug().'.DASH');
+ }
+
public function hasTranslation() {
return $this->get('ROOMS.'.$this->getSlug().'.TRANSLATION');
}
@@ -196,6 +200,9 @@ class Room extends ModelBase
if($this->hasMusic())
$selections[] = 'music';
+ if($this->hasDash())
+ $selections[] = 'dash';
+
return $selections;
}
@@ -214,6 +221,9 @@ class Room extends ModelBase
if($this->hasMusic())
$tabs[] = 'music';
+ if($this->hasDash())
+ $tabs[] = 'dash';
+
return $tabs;
}