• Модуль: b24connector
  • Путь к файлу: ~/bitrix/modules/b24connector/lib/buttontable.php
  • Класс: BitrixB24connectorButtonTable
  • Вызов: ButtonTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
			'title' => Loc::getMessage('B24C_BT_ENTITY_ID_FIELD'),
		),
		'APP_ID' => array(
				'data_type' => 'integer',
				'required' => true,
				'title' => Loc::getMessage('B24C_BT_ENTITY_APP_ID_FIELD'),
		),
		'ADD_DATE' => array(
			'data_type' => 'datetime',
			'title' => Loc::getMessage('B24C_BT_ENTITY_ADD_DATE_FIELD'),
		),
		'ADD_BY' => array(
			'data_type' => 'integer',
			'required' => true,
			'title' => Loc::getMessage('B24C_BT_ENTITY_ADD_BY_FIELD'),
		),
		'NAME' => array(
			'data_type' => 'string',
			'validation' => array(__CLASS__, 'validateName'),
			'title' => Loc::getMessage('B24C_BT_ENTITY_NAME_FIELD'),
		),
		'SCRIPT' => array(
			'data_type' => 'text',
			'title' => Loc::getMessage('B24C_BT_ENTITY_SCRIPT_FIELD'),
		),
	);
}