Commit a8700c09 authored by ErikHommel's avatar ErikHommel

Merge branch 'master' of lab.civicrm.org:extensions/form-processor

parents aa9dcbac d3051b73
......@@ -58,7 +58,7 @@
* @return string
*/
public function getLabel() {
return E::ts('Formatted output');
return E::ts('Decide what to send');
}
}
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment