- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/lib/workflow/entity/workflowstate.php
- Класс: BitrixBizprocWorkflowEntityWorkflowStateTable
- Вызов: WorkflowStateTable::getMap
static function getMap()
{
return array(
'ID' => array(
'data_type' => 'string',
'primary' => true,
),
'MODULE_ID' => array(
'data_type' => 'string'
),
'ENTITY' => array(
'data_type' => 'string'
),
'DOCUMENT_ID' => array(
'data_type' => 'string'
),
'DOCUMENT_ID_INT' => array(
'data_type' => 'integer'
),
'WORKFLOW_TEMPLATE_ID' => array(
'data_type' => 'integer'
),
'STATE' => array(
'data_type' => 'string'
),
'STATE_TITLE' => array(
'data_type' => 'string'
),
'STATE_PARAMETERS' => array(
'data_type' => 'string'
),
'MODIFIED' => array(
'data_type' => 'datetime'
),
'STARTED' => array(
'data_type' => 'datetime'
),
'STARTED_BY' => array(
'data_type' => 'integer'
),
'STARTED_USER' => array(
'data_type' => 'BitrixMainUserTable',
'reference' => array(
'=this.STARTED_BY' => 'ref.ID'
),
'join_type' => 'LEFT',
),
'INSTANCE' => array(
'data_type' => 'BitrixBizprocWorkflowEntityWorkflowInstanceTable',
'reference' => array(
'=this.ID' => 'ref.ID'
),
'join_type' => 'LEFT',
),
'TEMPLATE' => array(
'data_type' => 'BitrixBizprocWorkflowTemplateTable',
'reference' => array(
'=this.WORKFLOW_TEMPLATE_ID' => 'ref.ID'
),
'join_type' => 'LEFT'
),
);
}