- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/internals/task/log.php
- Класс: BitrixTasksInternalsTaskLogTable
- Вызов: LogTable::getMap
static function getMap()
{
return array(
'ID' => array(
'data_type' => 'integer',
'primary' => true,
'autocomplete' => true,
),
'CREATED_DATE' => array(
'data_type' => 'datetime',
'required' => true,
),
'USER_ID' => array(
'data_type' => 'integer',
'required' => true,
),
'TASK_ID' => array(
'data_type' => 'integer',
'required' => true,
),
'FIELD' => array(
'data_type' => 'string',
'required' => true,
'validation' => array(__CLASS__, 'validateField'),
),
'FROM_VALUE' => array(
'data_type' => 'text',
),
'TO_VALUE' => array(
'data_type' => 'text',
),
// references
'USER' => array(
'data_type' => 'BitrixMainUserTable',
'reference' => array('=this.USER_ID' => 'ref.ID')
),
'TASK' => array(
'data_type' => 'BitrixTasksInternalsTaskTable',
'reference' => array('=this.TASK_ID' => 'ref.ID')
),
);
}