MovePageController

final readonly class \TYPO3\CMS\Backend\Controller\Page\MovePageController

Uses
PageRendererBackendSetupTrait

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

Attributes

#[AsController]

Table of Contents

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
getBackendFavicon()  : string
Retrieves configured favicon for backend with fallback.
getNormalizedParams()  : NormalizedParams
getSubpagesForPageId()  : array
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

Parameters

$pageId : int

Return values

array

getTargetForAboveInsert()

protected getTargetForAboveInsert(array $targetRow) : int

Parameters

$targetRow : array

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