public function getCompanyDetailsById($request) { try { $companyid = $request->id; $mapper = new Administrator_Model_CompanyDataMapper(); $result = $mapper->getCompanyDetailsById($companyid); return $result; } catch (Exception $ex) { Rdine_Logger_FileLogger::info($ex->getMessage()); throw new Exception($ex->getMessage()); } }