/** * getLocationById * @author Thomas Schedler <*****@*****.**> * @version 1.0 */ public function getLocationById($intLocationId) { try { $this->getModelLocations(); $objLocation = $this->objModelLocations->loadLocation($intLocationId); return $objLocation; } catch (Exception $exc) { $this->core->logger->err($exc); } }