diff options
Diffstat (limited to 'model/Room.php')
-rw-r--r-- | model/Room.php | 4 |
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'); } |