Piwik\Plugins\UserCountry\LocationProvider\GeoIp\ServerBased::getSupportedLocationInfo PHP Метод

getSupportedLocationInfo() публичный Метод

There's no way to tell exactly what database the HTTP server is using, so we just assume country and continent information is available. This can make diagnostics a bit more difficult, unfortunately.
public getSupportedLocationInfo ( ) : array
Результат array
    public function getSupportedLocationInfo()
    {
        $result = array();
        // assume country info is always available. it's an error if it's not.
        $result[self::COUNTRY_CODE_KEY] = true;
        $result[self::COUNTRY_NAME_KEY] = true;
        $result[self::CONTINENT_CODE_KEY] = true;
        $result[self::CONTINENT_NAME_KEY] = true;
        return $result;
    }