getProviderNames() публичный статический Метод

Returns list of provider names
public static getProviderNames ( ) : array
Результат array Array of ( dnsName => providerName )
Пример #1
0
/**
 * Return a pretty provider name for a given domain name
 *
 * @param string $in hostname
 * @return string Real ISP name, IP (if IP address didn't resolve), or Unknown
 */
function getPrettyProviderName($in)
{
    $providerName = getHostnameName($in);
    $prettyNames = Common::getProviderNames();
    if (is_array($prettyNames) && array_key_exists(strtolower($providerName), $prettyNames)) {
        $providerName = $prettyNames[strtolower($providerName)];
    }
    return $providerName;
}