/** * @param Tx_Feupload_Domain_Model_File $file File object */ public function render($file) { $currentConf['labelStdWrap.']['cObject'] = 'TEXT'; $currentConf['labelStdWrap.']['cObject.']['value'] = $file->getTitle(); $conf = array_merge($GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_feupload.']['file.'], $currentConf); $conf['ATagParams'] = 'class="file download ' . $file->getFileExt() . '"'; return $GLOBALS['TSFE']->cObj->filelink($file->getFile(), $conf); }