|
@@ 572-578 (lines=7) @@
|
| 569 |
|
|
| 570 |
|
$globalActions = $wf->getGlobalActions(); |
| 571 |
|
|
| 572 |
|
foreach ($globalActions as $action) { |
| 573 |
|
$transientVars['actionId'] = $action->getId(); |
| 574 |
|
|
| 575 |
|
if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
| 576 |
|
$l[] = $action->getId(); |
| 577 |
|
} |
| 578 |
|
} |
| 579 |
|
|
| 580 |
|
foreach ($currentSteps as $step) { |
| 581 |
|
$availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps); |
|
@@ 629-635 (lines=7) @@
|
| 626 |
|
return $l; |
| 627 |
|
} |
| 628 |
|
|
| 629 |
|
foreach ($actions as $action) { |
| 630 |
|
$transientVars['actionId'] = $action->getId(); |
| 631 |
|
|
| 632 |
|
if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
| 633 |
|
$l[] = $action->getId(); |
| 634 |
|
} |
| 635 |
|
} |
| 636 |
|
|
| 637 |
|
return $l; |
| 638 |
|
} |