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