- Модуль: rest
- Путь к файлу: ~/bitrix/modules/rest/lib/event.php
- Класс: BitrixRestEventTable
- Вызов: EventTable::getMap
static function getMap()
{
return array(
'ID' => array(
'data_type' => 'integer',
'primary' => true,
'autocomplete' => true,
),
'APP_ID' => array(
'data_type' => 'integer',
),
'EVENT_NAME' => array(
'data_type' => 'string',
'required' => true,
),
'EVENT_HANDLER' => array(
'data_type' => 'string',
),
'USER_ID' => array(
'data_type' => 'integer',
),
'TITLE' => array(
'data_type' => 'string'
),
'COMMENT' => array(
'data_type' => 'string'
),
'DATE_CREATE' => array(
'data_type' => 'datetime'
),
'APPLICATION_TOKEN' => array(
'data_type' => 'string'
),
'CONNECTOR_ID' => array(
'data_type' => 'string'
),
'INTEGRATION_ID' => array(
'data_type' => 'integer',
),
'OPTIONS' => new ArrayField('OPTIONS'),
'REST_APP' => array(
'data_type' => 'BitrixRestAppTable',
'reference' => array('=this.APP_ID' => 'ref.ID'),
),
/**
* @deprecated
* Use REST_APP
*/
'APP' => array(
'data_type' => 'BitrixBitrix24AppsTable',
'reference' => array('=this.APP_ID' => 'ref.ID'),
),
);
}