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

Public Member Functions

 prefixWithAbsRefPrefix (GeneratePublicUrlForResourceEvent $event)
 

Private Member Functions

 isLocalResource (ResourceInterface $resource)
 
 getCurrentFrontendController ()
 

Static Private Attributes

static bool $isProcessingUrl = false
 

Detailed Description

Definition at line 25 of file PublicUrlPrefixer.php.

Member Function Documentation

◆ getCurrentFrontendController()

TYPO3\CMS\Frontend\Resource\PublicUrlPrefixer::getCurrentFrontendController ( )
private

◆ isLocalResource()

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

◆ prefixWithAbsRefPrefix()

Member Data Documentation

◆ $isProcessingUrl

bool TYPO3\CMS\Frontend\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 32 of file PublicUrlPrefixer.php.