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

Public Member Functions

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

Protected Attributes

string $path = 'typo3/'

Detailed Description

This class helps to resolve all kinds of paths to "/typo3/" - the main entry point to the TYPO3 Backend.

Definition at line 28 of file BackendEntryPointResolver.php.

Member Function Documentation

◆ getPathFromRequest()

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

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

Definition at line 35 of file BackendEntryPointResolver.php.

References TYPO3\CMS\Core\Routing\BackendEntryPointResolver\$path, and TYPO3\CMS\Core\Http\NormalizedParams\createFromRequest().

◆ getUriFromRequest()

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

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

Definition at line 48 of file BackendEntryPointResolver.php.

References TYPO3\CMS\Core\Http\NormalizedParams\createFromRequest().

Member Data Documentation

◆ $path

string TYPO3\CMS\Core\Routing\BackendEntryPointResolver::$path = 'typo3/'