/** * Sends download header and calls render method of the view. * Used for excelXML and CATXML. * * @param tx_l10nmgr_abstractExportView $xmlView Object for generating the XML export * @return string $filename */ protected function downloadXML(tx_l10nmgr_abstractExportView $xmlView) { // Save content to the disk and get the file name $filename = $xmlView->render(); return $filename; }