/** * Return array of offer rooms. * @return OfferRoom[] */ public function GetRooms() { if ($this->_Rooms == null) { $this->SetRooms(OfferRooms::GetRooms($this->GetId(), $this->GetIdLng())); } return $this->_Rooms; }