/** * Return investment building as object. * @return Investment */ public function GetInvestmentBuilding() { if ($this->_InvestmentBuldingObj == null) { $this->_InvestmentBuldingObj = InvestmentBuildings::GetInvestmentBuilding($this->GetInvestmentBuildingId()); } return $this->_InvestmentBuldingObj; }
/** * Returns a investment building object from the database by ID. * @param $id InvestmentsBuilding Id. * @return InvestmentBuilding */ public function GetInvestmentBuilding($id) { return InvestmentBuildings::GetInvestmentBuilding($id); }