Documentation

Base

Base abstract class for geolocation handlers.

Method Description Available from version
Class constructor Creates new class object
isInstalled Returns true when handler is installed and ready for use.
getSupportedLanguages Returns array of languages supported by the handler via ISO 639-1.
getId Returns record ID in the database
getSort Returns sorting fields.
isActive Returns true when handler is active.
getTitle Returns handler name.
getDataResult Returns result with geolocation data - class \Bitrix\Main\Service\GeoIp\Result.
getDescription Returns handler description.
getConfigForAdmin Returns array used for generating handler settings administrative form.
createConfigField Called when saving handler settings in the administrative form
getProvidingData Returns structure type \Bitrix\Main\Service\GeoIp\ProvidingData.


© «Bitrix24», 2001-2024
Up