ImportExportFilter

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.

Internal

Table of Contents

Methods

filterImportExportFilesAndFolders()  : mixed
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.
getBackendUser()  : BackendUserAuthentication|null

Methods

filterImportExportFilesAndFolders()

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.

public static filterImportExportFilesAndFolders(string $itemName, string $itemIdentifier, string $parentIdentifier, array<string|int, mixed> $additionalInformation, DriverInterface $driverInstance) : mixed
Parameters
$itemName : string
$itemIdentifier : string
$parentIdentifier : string
$additionalInformation : array<string|int, mixed>
$driverInstance : DriverInterface

        
On this page

Search results