SanitizeFileNameEvent

FinalYes

This event is fired once an index was just added to the database (= indexed), so it is possible to modify the file name, and name the files according to naming conventions of a specific project.

Table of Contents

Methods

__construct()  : mixed
getDriver()  : DriverInterface
getFileName()  : string
getStorage()  : ResourceStorage
getTargetFolder()  : Folder
setFileName()  : void

Methods

getFileName()

public getFileName() : string
Return values
string

setFileName()

public setFileName(string $fileName) : void
Parameters
$fileName : string

        
On this page

Search results