function getRealtorById($id) { $realtorModel = new JeaModelRealtors(); $realtorData = $realtorModel->getRowById($id); $realtorData->link = $this->getRealtorLink($id); return $realtorData; }