BackendEntryPointResolver

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

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Properties

$entryPoint  : string

Methods

getBackendRoutePath()  : string|null
getPathFromRequest()  : string
Returns a prefix such as /typo3/ or /mysubdir/typo3/ to the TYPO3 Backend with trailing slash.
getUriFromRequest()  : UriInterface
Returns a full URL to the main URL of the TYPO3 Backend.
isBackendRoute()  : bool
getEntryPoint()  : string
Returns a prefix such as /typo3 or /mysubdir/typo3 to the TYPO3 Backend *without* trailing slash.
getEntryPointConfiguration()  : string

Properties

$entryPoint

protected string $entryPoint = '/typo3'

Methods

getBackendRoutePath()

public getBackendRoutePath(ServerRequestInterface $request) : string|null
Parameters
$request : ServerRequestInterface
Return values
string|null

getPathFromRequest()

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

public getPathFromRequest(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

getUriFromRequest()

Returns a full URL to the main URL of the TYPO3 Backend.

public getUriFromRequest(ServerRequestInterface $request[, string $additionalPathPart = '' ]) : UriInterface
Parameters
$request : ServerRequestInterface
$additionalPathPart : string = ''
Return values
UriInterface

isBackendRoute()

public isBackendRoute(ServerRequestInterface $request) : bool
Parameters
$request : ServerRequestInterface
Return values
bool

getEntryPoint()

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

protected getEntryPoint(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

getEntryPointConfiguration()

protected getEntryPointConfiguration() : string
Return values
string

        
On this page

Search results