‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Resource\PublicUrlPrefixer Class Reference

Public Member Functions

 prefixWithSitePath (GeneratePublicUrlForResourceEvent $event)
 

Private Member Functions

 isLocalResource (ResourceInterface $resource)
 

Static Private Attributes

static bool $isProcessingUrl = false
 

Detailed Description

Definition at line 27 of file PublicUrlPrefixer.php.

Member Function Documentation

◆ isLocalResource()

TYPO3\CMS\Backend\Resource\PublicUrlPrefixer::isLocalResource ( ResourceInterface  $resource)
private

◆ prefixWithSitePath()

Member Data Documentation

◆ $isProcessingUrl

bool TYPO3\CMS\Backend\Resource\PublicUrlPrefixer::$isProcessingUrl = false
staticprivate

Static property to avoid an infinite loop, because this listener is called when public URLs are generated, but also calls public URL generation to obtain the URL without prefix from the driver and possibly other listeners

Definition at line 34 of file PublicUrlPrefixer.php.