BeforeFileAddedEvent

This event is fired before a file is about to be added to the Resource Storage / Driver. This allows to do custom checks to a file or restrict access to a file before the file is added.

API

class \TYPO3\CMS\Core\Resource\Event\ BeforeFileAddedEvent

This event is fired before a file is about to be added to the Resource Storage / Driver.

This allows to do custom checks to a file or restrict access to a file before the file is added.

getFileName ( )
returntype

string

setFileName ( string $fileName)
param string $fileName

the fileName

getSourceFilePath ( )
returntype

string

getTargetFolder ( )
returntype

TYPO3\CMS\Core\Resource\Folder

getStorage ( )
returntype

TYPO3\CMS\Core\Resource\ResourceStorage

getDriver ( )
returntype

TYPO3\CMS\Core\Resource\Driver\DriverInterface