);
$this->addButtons([
- [
- 'type' => 'back',
- 'name' => ts('Previous'),
- ],
- [
- 'type' => 'next',
- 'name' => ts('Export'),
- 'spacing' => ' ',
- ],
- [
- 'type' => 'done',
- 'icon' => 'fa-times',
- 'name' => ts('Done'),
- ],
- ]
- );
+ [
+ 'type' => 'back',
+ 'name' => ts('Previous'),
+ ],
+ [
+ 'type' => 'next',
+ 'name' => ts('Export'),
+ 'spacing' => ' ',
+ ],
+ [
+ 'type' => 'done',
+ 'icon' => 'fa-times',
+ 'name' => ts('Done'),
+ ],
+ ]);
}
/**
$params = $this->controller->exportValues($this->_name);
$exportParams = $this->controller->exportValues('Select');
- $greetingOptions = CRM_Export_Form_Select::getGreetingOptions();
-
- if (!empty($greetingOptions)) {
- foreach ($greetingOptions as $key => $value) {
- if ($option = CRM_Utils_Array::value($key, $exportParams)) {
- if ($greetingOptions[$key][$option] == ts('Other')) {
- $exportParams[$key] = $exportParams["{$key}_other"];
- }
- elseif ($greetingOptions[$key][$option] == ts('List of names')) {
- $exportParams[$key] = '';
- }
- else {
- $exportParams[$key] = $greetingOptions[$key][$option];
- }
- }
- }
- }
-
$currentPath = CRM_Utils_System::currentPath();
$urlParams = NULL;