CleanUpLocalProcessedFilesService

Read onlyYes
FinalYes
Internal

not part of TYPO3's Core API

Table of Contents

Methods

__construct()  : mixed
deleteRecord()  : int
getFilesToClean()  : array<string|int, SplFileInfo>
Find processed files without a reference
getRecordsToClean()  : array<int, array<string, mixed>>
Find records which reference non-existing files

Methods

deleteRecord()

public deleteRecord(array<string|int, mixed> $recordUids) : int
Parameters
$recordUids : array<string|int, mixed>
Return values
int

getFilesToClean()

Find processed files without a reference

public getFilesToClean([bool $fullReset = false ]) : array<string|int, SplFileInfo>
Parameters
$fullReset : bool = false

When true also removes entries that have an empty identifier or storage

Return values
array<string|int, SplFileInfo>

getRecordsToClean()

Find records which reference non-existing files

public getRecordsToClean([bool $fullReset = false ]) : array<int, array<string, mixed>>
Parameters
$fullReset : bool = false

When true also removes entries that have an empty identifier or storage

Return values
array<int, array<string, mixed>>
On this page

Search results