ImportExportPlugin::getExportFileName PHP Method

getExportFileName() public method

Return the whole export file name.
public getExportFileName ( $basePath, $objectsFileNamePart, $context, $extension = '.xml' ) : string
$basePath string Base path for temporary file storage
$objectsFileNamePart string Part different for each object type.
$context Context
$extension string
return string
    function getExportFileName($basePath, $objectsFileNamePart, $context, $extension = '.xml')
    {
        return $basePath . $this->getPluginSettingsPrefix() . '-' . date('Ymd-His') . '-' . $objectsFileNamePart . '-' . $context->getId() . $extension;
    }