- Модуль: imopenlines
- Путь к файлу: ~/bitrix/modules/imopenlines/lib/model/configcategory.php
- Класс: BitrixImopenlinesModelConfigCategoryTable
- Вызов: ConfigCategoryTable::getMap
static function getMap()
{
return array(
'ID' => array(
'data_type' => 'integer',
'primary' => true,
'autocomplete' => true,
'title' => Loc::getMessage('CONFIG_CATEGORY_ENTITY_ID_FIELD'),
),
'CONFIG_ID' => array(
'data_type' => 'integer',
'required' => true,
'title' => Loc::getMessage('CONFIG_CATEGORY_ENTITY_CONFIG_ID_FIELD'),
),
'CODE' => array(
'data_type' => 'string',
'validation' => array(__CLASS__, 'validateCode'),
'title' => Loc::getMessage('CONFIG_CATEGORY_ENTITY_CODE_FIELD'),
),
'VALUE' => array(
'data_type' => 'string',
'validation' => array(__CLASS__, 'validateValue'),
'title' => Loc::getMessage('CONFIG_CATEGORY_ENTITY_VALUE_FIELD'),
),
'SORT' => array(
'data_type' => 'integer',
'required' => true,
'title' => Loc::getMessage('CONFIG_CATEGORY_ENTITY_SORT_FIELD'),
),
);
}