ViewModuleController

Controller to show a frontend page in the backend. Backend "View" module.

Internal

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

Table of Contents

Properties

$iconFactory  : IconFactory
$moduleTemplateFactory  : ModuleTemplateFactory
$pageRepository  : PageRepository
$policyRegistry  : PolicyRegistry
$siteFinder  : SiteFinder
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
handleRequest()  : ResponseInterface
Show selected page.
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getPreviewLanguages()  : array<string|int, mixed>
Returns the preview languages
getPreviewPresets()  : array<string|int, mixed>
Get available presets for page id.
getShortcutTitle()  : string
Returns the shortcut title for the current page.
getTypeParameterIfSet()  : string
With page TS config it is possible to force a specific type id via mod.web_view.type for a page id or a page tree.
isValidDoktype()  : bool
Verifies if doktype of given page is valid - not a folder / recycler / .
registerDocHeader()  : mixed

Properties

Methods

handleRequest()

Show selected page.

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

getPreviewLanguages()

Returns the preview languages

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

getPreviewPresets()

Get available presets for page id.

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

getShortcutTitle()

Returns the shortcut title for the current page.

protected getShortcutTitle(int $pageId) : string
Parameters
$pageId : int
Return values
string

getTypeParameterIfSet()

With page TS config it is possible to force a specific type id via mod.web_view.type for a page id or a page tree.

protected getTypeParameterIfSet(int $pageId) : string

The method checks if a type is set for the given id and returns the additional GET string.

Parameters
$pageId : int
Return values
string

isValidDoktype()

Verifies if doktype of given page is valid - not a folder / recycler / .

protected isValidDoktype([int $pageId = 0 ]) : bool

..

Parameters
$pageId : int = 0
Return values
bool

registerDocHeader()

protected registerDocHeader(ModuleTemplate $view, int $pageId, int $languageId, string $targetUrl) : mixed
Parameters
$view : ModuleTemplate
$pageId : int
$languageId : int
$targetUrl : string

        
On this page

Search results