PermissionController

Backend module page permissions.

Also includes the ajax endpoint for convenient methods for editing of page permissions (including page ownership (user and group)).

Internal

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

Table of Contents

Properties

$depth  : int
$iconFactory  : IconFactory
$id  : int
$moduleTemplate  : ModuleTemplate|null
$moduleTemplateFactory  : ModuleTemplateFactory
$pageInfo  : array<string|int, mixed>
$pageRenderer  : PageRenderer
$responseFactory  : ResponseFactoryInterface
$returnUrl  : string
$uriBuilder  : UriBuilder
$view  : ViewInterface|null

Methods

__construct()  : mixed
editAction()  : ResponseInterface
handleAjaxRequest()  : ResponseInterface
handleRequest()  : ResponseInterface
indexAction()  : ResponseInterface
addFlashMessage()  : void
Adds a flash message to the default flash message queue
getBackendUser()  : BackendUserAuthentication
getDepthOptions()  : array<string|int, mixed>
getLanguageService()  : LanguageService
getRecursiveSelectOptions()  : array<string|int, mixed>
Finding tree and offer setting of values recursively.
getShortcutTitle()  : string
Returns the shortcut title for the current page
getTree()  : array<string|int, mixed>
htmlResponse()  : ResponseInterface
initializeView()  : void
registerDocHeaderButtons()  : void
updateAction()  : ResponseInterface

Properties

$pageInfo

protected array<string|int, mixed> $pageInfo = []

$responseFactory

protected ResponseFactoryInterface $responseFactory

$returnUrl

protected string $returnUrl = ''

$view

protected ViewInterface|null $view = null

Methods

editAction()

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

handleAjaxRequest()

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

handleRequest()

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

indexAction()

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

addFlashMessage()

Adds a flash message to the default flash message queue

protected addFlashMessage(string $message[, string $title = '' ][, int $severity = FlashMessage::INFO ]) : void
Parameters
$message : string
$title : string = ''
$severity : int = FlashMessage::INFO

getDepthOptions()

protected getDepthOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRecursiveSelectOptions()

Finding tree and offer setting of values recursively.

protected getRecursiveSelectOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getShortcutTitle()

Returns the shortcut title for the current page

protected getShortcutTitle() : string
Return values
string

getTree()

protected getTree() : array<string|int, mixed>
Return values
array<string|int, mixed>

htmlResponse()

protected htmlResponse(string $html[, int $code = 200 ]) : ResponseInterface
Parameters
$html : string
$code : int = 200
Return values
ResponseInterface

initializeView()

protected initializeView([string $template = '' ]) : void
Parameters
$template : string = ''

registerDocHeaderButtons()

protected registerDocHeaderButtons(string $action) : void
Parameters
$action : string

updateAction()

protected updateAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

        
On this page

Search results