You are here

private function AbstractPlaceRecord::name in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php \GeoIp2\Record\AbstractPlaceRecord::name()
1 call to AbstractPlaceRecord::name()
AbstractPlaceRecord::__get in includes/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php
@ignore

File

includes/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php, line 30

Class

AbstractPlaceRecord

Namespace

GeoIp2\Record

Code

private function name() {
  foreach ($this->locales as $locale) {
    if (isset($this->names[$locale])) {
      return $this->names[$locale];
    }
  }
}