ExportAction::createExportTempFile: Bitrix method

      
<?php 
//  Bitrix\Translate\Controller\Export\ExportAction :: createExportTempFile()
//  /dist/bitrix/modules/translate/lib/controller/export/exportaction.php:113

    
protected function createExportTempFile()
    {
        
/** @var Translate\IO\CsvFile $csvFile */
        
$csvFile Translate\IO\CsvFile::generateTemporalFile('translate''.csv'3);

        
$this->configureExportCsvFile($csvFile);

        
$csvFile->openWrite();

        
$row = array('file''key');
        foreach (
$this->languages as $langId)
        {
            
$row[] = $langId;
        }
        
$csvFile->put($row);
        
$csvFile->close();

        
$this->exportFilePath $csvFile->getPhysicalPath();
        
$this->exportFileSize $csvFile->getSize();

        return 
$csvFile;
    }