/** * Return array of offers in building. * @return Offer[] */ public function GetOffers() { if ($this->_Offers == null) { $this->_Offers = Offers::GetOffersInvestmentBuilding($this->GetId(), $this->GetIdLng()); } return $this->_Offers; }