@@ 610-616 (lines=7) @@ | ||
607 | ||
608 | $l = $this->buildListIdsAvailableActions($globalActions, $transientVars, $ps, $l); |
|
609 | ||
610 | foreach ($currentSteps as $step) { |
|
611 | $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps); |
|
612 | foreach ($availableAutoActionsForStep as $v) { |
|
613 | $l[] = $v; |
|
614 | } |
|
615 | } |
|
616 | ||
617 | $l = array_unique($l); |
|
618 | ||
619 | return $l; |
|
@@ 1670-1675 (lines=6) @@ | ||
1667 | } |
|
1668 | ||
1669 | ||
1670 | foreach ($currentSteps as $step) { |
|
1671 | $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps); |
|
1672 | foreach ($data as $v) { |
|
1673 | $l[] = $v; |
|
1674 | } |
|
1675 | } |
|
1676 | return array_unique($l); |
|
1677 | } catch (\Exception $e) { |
|
1678 | $errMsg = 'Ошибка проверки доступных действий'; |