public function exportSynonymsAction($fileFormat = 'txt')
    {
        $coreAdmin = $this->selectedSolrCoreConnection->getAdminService();
        $synonyms = $coreAdmin->getSynonyms();
        return $this->exportFile(ManagedResourcesUtility::exportSynonymsToTxt($synonyms), 'synonyms', $fileFormat);
    }
public function exportSynonymsAction($fileFormat = 'txt')
    {
        $coreAdmin = $this->selectedSolrCoreConnection->getAdminService();
        $synonyms = $coreAdmin->getSynonyms();
        return $this->exportFile(ManagedResourcesUtility::exportSynonymsToTxt($synonyms), 'synonyms', $fileFormat);
    }
public function exportSynonymsAction ( $ fileFormat = 'txt' ) { $ coreAdmin = $ this -> selectedSolrCoreConnection -> getAdminService ( ) ; $ synonyms = $ coreAdmin -> getSynonyms ( ) ; return $ this -> exportFile ( ManagedResourcesUtility :: exportSynonymsToTxt ( $ synonyms ) , 'synonyms' , $ fileFormat ) ; }
Exports synonyms to a download file.

@param string $fileFormat
@return string
Exports synonyms to a download file .