MovePageController uses PageRendererBackendSetupTrait

Read onlyYes
FinalYes

The "move page" wizard. Reachable via list module "Move page" on page records.

Internal

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Attributes
#[AsController]

Table of Contents

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
getBackendFavicon()  : string
Retrieves configured favicon for backend with fallback.
getNormalizedParams()  : NormalizedParams
getSubpagesForPageId()  : array<string|int, mixed>
getTargetForAboveInsert()  : int
getUriForFileName()  : string
Returns the uri of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the project root of the TYPO3 installation
loadStylesheets()  : void
Load all registered stylesheets from $GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']
pageHasSubpages()  : bool
setUpBasicPageRendererForBackend()  : void
Sets mandatory parameters for the PageRenderer.

Methods

mainAction()

public mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

getBackendFavicon()

Retrieves configured favicon for backend with fallback.

protected getBackendFavicon(ExtensionConfiguration $extensionConfiguration, ServerRequestInterface $request) : string
Parameters
$extensionConfiguration : ExtensionConfiguration
$request : ServerRequestInterface
Return values
string

getSubpagesForPageId()

protected getSubpagesForPageId(int $pageId) : array<string|int, mixed>
Parameters
$pageId : int
Return values
array<string|int, mixed>

getTargetForAboveInsert()

protected getTargetForAboveInsert(array<string|int, mixed> $targetRow) : int
Parameters
$targetRow : array<string|int, mixed>
Return values
int

getUriForFileName()

Returns the uri of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the project root of the TYPO3 installation

protected getUriForFileName(ServerRequestInterface $request, string $filename) : string
Parameters
$request : ServerRequestInterface
$filename : string

The input filename/filepath to evaluate

Return values
string

Returns the filename of $filename if valid, otherwise blank string.

loadStylesheets()

Load all registered stylesheets from $GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']

protected loadStylesheets(PageRenderer $pageRenderer) : void
Parameters
$pageRenderer : PageRenderer

pageHasSubpages()

protected pageHasSubpages(int $pageId) : bool
Parameters
$pageId : int
Return values
bool

        
On this page

Search results