|
@@ 603-609 (lines=7) @@
|
| 600 |
|
|
| 601 |
|
$globalActions = $wf->getGlobalActions(); |
| 602 |
|
|
| 603 |
|
foreach ($globalActions as $action) { |
| 604 |
|
$transientVars['actionId'] = $action->getId(); |
| 605 |
|
|
| 606 |
|
if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
| 607 |
|
$l[] = $action->getId(); |
| 608 |
|
} |
| 609 |
|
} |
| 610 |
|
|
| 611 |
|
foreach ($currentSteps as $step) { |
| 612 |
|
$availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps); |
|
@@ 660-666 (lines=7) @@
|
| 657 |
|
return $l; |
| 658 |
|
} |
| 659 |
|
|
| 660 |
|
foreach ($actions as $action) { |
| 661 |
|
$transientVars['actionId'] = $action->getId(); |
| 662 |
|
|
| 663 |
|
if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) { |
| 664 |
|
$l[] = $action->getId(); |
| 665 |
|
} |
| 666 |
|
} |
| 667 |
|
|
| 668 |
|
return $l; |
| 669 |
|
} |