‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Filter\ImportExportFilter Class Reference

Static Public Member Functions

static filterImportExportFilesAndFolders (string $itemName, string $itemIdentifier, string $parentIdentifier, array $additionalInformation, DriverInterface $driverInstance)
 

Static Protected Member Functions

static getBackendUser ()
 

Detailed Description

Utility methods for filtering filenames stored in importexport temporary folder. Albeit this filter is in the scope of ext:impexp, it is located in ext:core to apply filters on left-over fragments, even when ext:impexp is not installed.

Definition at line 30 of file ImportExportFilter.php.

Member Function Documentation

◆ filterImportExportFilesAndFolders()

static TYPO3\CMS\Core\Resource\Filter\ImportExportFilter::filterImportExportFilesAndFolders ( string  $itemName,
string  $itemIdentifier,
string  $parentIdentifier,
array  $additionalInformation,
DriverInterface  $driverInstance 
)
static

Filter method that checks if a directory or a file in such directory belongs to the temp directory of EXT:impexp and the user has "export" permissions.

Definition at line 36 of file ImportExportFilter.php.

References TYPO3\CMS\Core\Resource\Filter\ImportExportFilter\getBackendUser().

◆ getBackendUser()

static TYPO3\CMS\Core\Resource\Filter\ImportExportFilter::getBackendUser ( )
staticprotected