GeneratePublicUrlForResourceEvent

FinalYes

This event is fired before TYPO3 FAL's native URL generation for a Resource is instantiated.

This allows for listeners to create custom links to certain files (e.g. restrictions) for creating authorized deeplinks.

Table of Contents

Methods

__construct()  : mixed
getDriver()  : DriverInterface
getPublicUrl()  : string|null
getResource()  : ResourceInterface
getStorage()  : ResourceStorage
isRelativeToCurrentScript()  : bool
setPublicUrl()  : void

Methods

getPublicUrl()

public getPublicUrl() : string|null
Return values
string|null

isRelativeToCurrentScript()

public isRelativeToCurrentScript() : bool
Deprecated

since TYPO3 v11, will be removed in TYPO3 v12.0

Return values
bool

setPublicUrl()

public setPublicUrl(string|null $publicUrl) : void
Parameters
$publicUrl : string|null

        
On this page

Search results