method
public
GeoIP2::getDescription()
Сигнатура
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
createConfigField()getConfigForAdmin()getDataResult()getId()getProvidingData()getSort()getSupportedLanguages()Языки, поддерживаемые обработчиком, ISO 639-1getTitle()isActive()isInstalled()Установлен ли этот обработчик и готов ли к использованию.
getDescription() есть и у других классов модуля «Главный модуль»: Base, Extension, HtmlDocument, MaxMind, SypexGeo.
Исходный файл: source/main/lib/service/geoip/geoip2.php:32

