aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index 33beb9f..b3804f1 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -128,6 +128,11 @@ class Room extends ModelBase
}
+ public function hasEmbed() {
+ return $this->get('ROOMS.'.$this->getSlug().'.EMBED') && $this->get('EMBED');
+ }
+
+
public function hasSdVideo() {
return $this->get('ROOMS.'.$this->getSlug().'.SD_VIDEO');
}