Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
workflowstate.php
1
<?php
2
3
namespace
Bitrix\Bizproc\Workflow
;
4
5
use Bitrix\Bizproc\Workflow\Entity\EO_WorkflowState;
6
7
class
WorkflowState
extends
EO_WorkflowState
8
{
9
public
function
getComplexDocumentId
(): array
10
{
11
return
[$this->getModuleId(), $this->getEntity(), $this->getDocumentId()];
12
}
13
14
public
function
getStateInfo
(): array
15
{
16
return
[
17
'STATE'
=> $this->getState(),
18
'TITLE'
=> $this->getStateTitle(),
19
'PARAMETERS'
=> $this->getStateParameters(),
20
];
21
}
22
23
public
function
getTasksInfo
(): array
24
{
25
$info = [];
26
27
$tasks = $this->getTasks();
28
if
($tasks)
29
{
30
foreach
($this->getTasks() as $task)
31
{
32
$info[$task->getId()] = $task->getValues();
33
}
34
}
35
36
return
$info;
37
}
38
}
Bitrix\Bizproc\Workflow\WorkflowState
Definition
workflowstate.php:8
Bitrix\Bizproc\Workflow\WorkflowState\getTasksInfo
getTasksInfo()
Definition
workflowstate.php:23
Bitrix\Bizproc\Workflow\WorkflowState\getStateInfo
getStateInfo()
Definition
workflowstate.php:14
Bitrix\Bizproc\Workflow\WorkflowState\getComplexDocumentId
getComplexDocumentId()
Definition
workflowstate.php:9
Bitrix\Bizproc\Workflow
modules
bizproc
lib
workflow
workflowstate.php
Создано системой
1.10.0