‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Routing\BackendEntryPointResolver Class Reference

Public Member Functions

 getPathFromRequest (ServerRequestInterface $request)
 
 getUriFromRequest (ServerRequestInterface $request, string $additionalPathPart='')
 
 isBackendRoute (ServerRequestInterface $request)
 
 getBackendRoutePath (ServerRequestInterface $request)
 

Protected Member Functions

 getEntryPoint (ServerRequestInterface $request)
 
 getEntryPointConfiguration ()
 

Protected Attributes

string $entryPoint = '/typo3'
 

Private Member Functions

 removeMultipleSlashes (string $value)
 

Detailed Description

This class helps to resolve the virtual path to the main entry point of the TYPO3 Backend.

Definition at line 28 of file BackendEntryPointResolver.php.

Member Function Documentation

◆ getBackendRoutePath()

TYPO3\CMS\Core\Routing\BackendEntryPointResolver::getBackendRoutePath ( ServerRequestInterface  $request)

◆ getEntryPoint()

TYPO3\CMS\Core\Routing\BackendEntryPointResolver::getEntryPoint ( ServerRequestInterface  $request)
protected

◆ getEntryPointConfiguration()

◆ getPathFromRequest()

TYPO3\CMS\Core\Routing\BackendEntryPointResolver::getPathFromRequest ( ServerRequestInterface  $request)

Returns a prefix such as /typo3/ or /mysubdir/typo3/ to the TYPO3 Backend with trailing slash.

Definition at line 35 of file BackendEntryPointResolver.php.

References TYPO3\CMS\Core\Routing\BackendEntryPointResolver\$entryPoint, and TYPO3\CMS\Core\Routing\BackendEntryPointResolver\getEntryPoint().

◆ getUriFromRequest()

TYPO3\CMS\Core\Routing\BackendEntryPointResolver::getUriFromRequest ( ServerRequestInterface  $request,
string  $additionalPathPart = '' 
)

◆ isBackendRoute()

TYPO3\CMS\Core\Routing\BackendEntryPointResolver::isBackendRoute ( ServerRequestInterface  $request)

◆ removeMultipleSlashes()

TYPO3\CMS\Core\Routing\BackendEntryPointResolver::removeMultipleSlashes ( string  $value)
private

Member Data Documentation

◆ $entryPoint