@@ 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; |
|
@@ 686-691 (lines=6) @@ | ||
683 | } |
|
684 | ||
685 | ||
686 | foreach ($currentSteps as $step) { |
|
687 | $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps); |
|
688 | foreach ($data as $v) { |
|
689 | $l[] = $v; |
|
690 | } |
|
691 | } |
|
692 | return array_unique($l); |
|
693 | } catch (\Exception $e) { |
|
694 | $errMsg = 'Ошибка проверки доступных действий'; |