method public

GeoIP2::getDescription()

Класс: \Bitrix\Main\Service\GeoIp\GeoIP2

Сигнатура

public getDescription() : string

Возвращаемое значение

string

Как применяется в GeoIP2

GeoIP2::getDescription() — метод класса \Bitrix\Main\Service\GeoIp\GeoIP2 модуля «Главный модуль».

Метод объекта: сначала нужен экземпляр GeoIP2.

use Bitrix\Main\Service\GeoIp\GeoIP2;

/** @var GeoIP2 $object */
$result = $object->getDescription();
// $result: string

Другие методы GeoIP2

getDescription() есть и у других классов модуля «Главный модуль»: Base, Extension, HtmlDocument, MaxMind, SypexGeo.

Исходный файл: source/main/lib/service/geoip/geoip2.php:32

Что будем искать? Например,Продвижение