Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
form-processor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mattwire
form-processor
Commits
a8700c09
Commit
a8700c09
authored
5 years ago
by
ErikHommel
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of lab.civicrm.org:extensions/form-processor
parents
aa9dcbac
d3051b73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Civi/FormProcessor/OutputHandler/FormatOutput.php
+1
-1
1 addition, 1 deletion
Civi/FormProcessor/OutputHandler/FormatOutput.php
Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php
+15
-15
15 additions, 15 deletions
Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php
with
16 additions
and
16 deletions
Civi/FormProcessor/OutputHandler/FormatOutput.php
+
1
−
1
View file @
a8700c09
...
...
@@ -58,7 +58,7 @@
* @return string
*/
public
function
getLabel
()
{
return
E
::
ts
(
'
Formatted output
'
);
return
E
::
ts
(
'
Decide what to send
'
);
}
}
This diff is collapsed.
Click to expand it.
Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php
+
15
−
15
View file @
a8700c09
...
...
@@ -4,31 +4,31 @@
* @author Jaap Jansma (CiviCooP) <jaap.jansma@civicoop.org>
* @license http://www.gnu.org/licenses/agpl-3.0.html
*/
namespace
Civi\FormProcessor\OutputHandler
;
use
\Civi\FormProcessor\Config\ConfigurationBag
;
use
\Civi\FormProcessor\Config\Specification
;
use
\Civi\FormProcessor\Config\SpecificationBag
;
use
\Civi\FormProcessor\OutputHandler\AbstractOutputHandler
;
use
\Civi\FormProcessor\DataBag
;
use
CRM_FormProcessor_ExtensionUtil
as
E
;
class
OutputAllActionOutput
extends
AbstractOutputHandler
{
/**
* Get the configuration specification
*
*
* @return SpecificationBag
*/
public
function
getConfigurationSpecification
()
{
return
new
SpecificationBag
();
}
/**
* Convert the action data to output data.
*
*
* @param DataBag $dataBag
* @return array
*/
...
...
@@ -41,20 +41,20 @@
$actionData
[
'action'
]
=
$action
->
title
;
$actionData
[
'output'
]
=
$dataBag
->
getActionData
(
$action
);
if
(
!
is_array
(
$actionData
[
'output'
]))
{
$actionData
[
'output'
]
=
array
();
}
$actionData
[
'output'
]
=
array
();
}
$output
[
'action'
][]
=
$actionData
;
}
return
$output
;
}
/**
* Returns the label of the output handler.
*
*
* @return string
*/
public
function
getLabel
()
{
return
E
::
ts
(
'
Output all the output from all the actions
'
);
return
E
::
ts
(
'
Send everything
'
);
}
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment