- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/service/geoip/handler.php
- Класс: BitrixMainServiceGeoIpHandlerTable
- Вызов: HandlerTable::getMap
static function getMap()
{
return array(
'ID' => array(
'data_type' => 'integer',
'primary' => true,
'autocomplete' => true,
'title' => Loc::getMessage('MAIN_SRV_GEOIP_HNDL_ENTITY_ID_FIELD'),
),
'SORT' => array(
'data_type' => 'integer',
'title' => Loc::getMessage('MAIN_SRV_GEOIP_HNDL_ENTITY_SORT_FIELD'),
),
'ACTIVE' => array(
'data_type' => 'boolean',
'values' => array('N', 'Y'),
'title' => Loc::getMessage('MAIN_SRV_GEOIP_HNDL_ENTITY_ACTIVE_FIELD'),
),
'CLASS_NAME' => array(
'data_type' => 'string',
'required' => true,
'validation' => array(__CLASS__, 'validateClassName'),
'title' => Loc::getMessage('MAIN_SRV_GEOIP_HNDL_ENTITY_CLASS_NAME_FIELD'),
),
'CONFIG' => array(
'data_type' => 'text',
'serialized' => true,
'title' => Loc::getMessage('MAIN_SRV_GEOIP_HNDL_ENTITY_CONFIG_FIELD'),
),
);
}