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