/** * getProvincesByCountry * @author Thomas Schedler <*****@*****.**> */ public function getProvincesByCountry($strCountry) { try { $this->getModelLocations(); $intUnitId = $this->objGenericData->Setup()->getField('entry_location')->getValue(); $intTypeId = $this->objGenericData->Setup()->getField('entry_type')->getValue(); $objProvinces = $this->objModelLocations->loadProvincesByCountry($strCountry, $intUnitId, $intTypeId); return $objProvinces; } catch (Exception $exc) { $this->core->logger->err($exc); } }