aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
authorMaZderMind2015-12-20 16:41:39 +0100
committerMaZderMind2015-12-20 16:41:39 +0100
commitcfecaf77340569df6a4002b0aced94367e2562e2 (patch)
tree0f275a6519a818b7d2a14047f55e16ea97cae83e /model/Room.php
parent83d4c7d0176b2a6db5896a2819b8427d8a6f928a (diff)
allow rooms to be forced to full-width
Diffstat (limited to '')
-rw-r--r--model/Room.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index b4fc1d1..7386c1d 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -72,6 +72,10 @@ class Room extends ModelBase
return $this->get('ROOMS.'.$this->getSlug().'.PREVIEW');
}
+ public function requestsWide() {
+ return $this->get('ROOMS.'.$this->getSlug().'.WIDE');
+ }
+
public function hasSchedule() {
return $this->get('ROOMS.'.$this->getSlug().'.SCHEDULE') && $this->has('SCHEDULE');
}