|
@@ 562-568 (lines=7) @@
|
| 559 |
|
|
| 560 |
|
$globalActions = $wf->getGlobalActions(); |
| 561 |
|
|
| 562 |
|
foreach ($globalActions as $action) { |
| 563 |
|
$transientVars['actionId'] = $action->getId(); |
| 564 |
|
|
| 565 |
|
if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
| 566 |
|
$l[] = $action->getId(); |
| 567 |
|
} |
| 568 |
|
} |
| 569 |
|
|
| 570 |
|
foreach ($currentSteps as $step) { |
| 571 |
|
$availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps); |
|
@@ 619-625 (lines=7) @@
|
| 616 |
|
return $l; |
| 617 |
|
} |
| 618 |
|
|
| 619 |
|
foreach ($actions as $action) { |
| 620 |
|
$transientVars['actionId'] = $action->getId(); |
| 621 |
|
|
| 622 |
|
if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
| 623 |
|
$l[] = $action->getId(); |
| 624 |
|
} |
| 625 |
|
} |
| 626 |
|
|
| 627 |
|
return $l; |
| 628 |
|
} |