| 375 |
375 |
}
|
| 376 |
376 |
}
|
| 377 |
377 |
}
|
| 378 |
|
|
|
378 |
$tsconfig = t3lib_BEfunc::getModTSconfig($this->id,'tx_formhandler_mod1');
|
|
379 |
$configParams = array();
|
|
380 |
// check if TSconfig filter is set
|
|
381 |
if ($tsconfig['properties']['config.']['csv'] != "") {
|
|
382 |
$configParams = t3lib_div::trimExplode(',', $tsconfig['properties']['config.']['csv'], 1);
|
|
383 |
$generator = $this->componentManager->getComponent('Tx_Formhandler_Generator_CSV');
|
|
384 |
$generator->generateModuleCSV($renderRecords, $configParams);
|
|
385 |
}
|
| 379 |
386 |
//if fields were chosen in the selection view, perform the export
|
| 380 |
|
if(isset($params['exportParams'])) {
|
|
387 |
elseif(isset($params['exportParams'])) {
|
| 381 |
388 |
$generator = $this->componentManager->getComponent('Tx_Formhandler_Generator_CSV');
|
| 382 |
389 |
$generator->generateModuleCSV($renderRecords, $params['exportParams']);
|
| 383 |
390 |
|
| ... | ... | |
| 591 |
598 |
$formatMarkers['###HIDDEN_FIELDS###'] .= '<input type="hidden" name="formhandler[markedUids][]" value="' . $id . '" />';
|
| 592 |
599 |
}
|
| 593 |
600 |
$formatMarkers['###KEY###'] = $key;
|
| 594 |
|
$formatMarkers['###UID###'] = 0;
|
|
601 |
$formatMarkers['###UID###'] = $this->id;
|
| 595 |
602 |
$formatMarkers['###LLL:export###'] = $LANG->getLL('export');
|
| 596 |
603 |
$formatMarkers['###FORMAT###'] = implode(',', array_keys($format));
|
| 597 |
604 |
$markers['###FORMATS###'] .= Tx_Formhandler_StaticFuncs::substituteMarkerArray($code, $formatMarkers);
|
| ... | ... | |
| 607 |
614 |
$formatMarkers['###HIDDEN_FIELDS###'] .= '<input type="hidden" name="formhandler[markedUids][]" value="' . $id . '" />';
|
| 608 |
615 |
}
|
| 609 |
616 |
$formatMarkers['###KEY###'] = '*';
|
| 610 |
|
$formatMarkers['###UID###'] = 0;
|
|
617 |
$formatMarkers['###UID###'] = $this->id;
|
| 611 |
618 |
$formatMarkers['###LLL:export###'] = $LANG->getLL('export_all');
|
| 612 |
619 |
$formatMarkers['###FORMAT###'] = '';
|
| 613 |
620 |
$markers['###FORMATS###'] .= Tx_Formhandler_StaticFuncs::substituteMarkerArray($code, $formatMarkers);
|