PermissionController

Backend module page permissions. This is the "Access" module in main module.

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

$backendViewFactory  : BackendViewFactory
$depth  : int
$iconFactory  : IconFactory
$id  : int
$moduleTemplateFactory  : ModuleTemplateFactory
$pageInfo  : array<string|int, mixed>
$pageRenderer  : PageRenderer
$responseFactory  : ResponseFactoryInterface
$returnUrl  : string
$uriBuilder  : UriBuilder

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
registerDocHeaderButtons()  : void
updateAction()  : ResponseInterface

Properties

$pageInfo

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

$responseFactory read-only

protected ResponseFactoryInterface $responseFactory

$returnUrl

protected string $returnUrl = ''

Methods

editAction()

public editAction(ModuleTemplate $view, ServerRequestInterface $request) : ResponseInterface
Parameters
$view : ModuleTemplate
$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(ModuleTemplate $view, ServerRequestInterface $request) : ResponseInterface
Parameters
$view : ModuleTemplate
$request : ServerRequestInterface
Return values
ResponseInterface

addFlashMessage()

Adds a flash message to the default flash message queue

protected addFlashMessage(string $message[, string $title = '' ][, ContextualFeedbackSeverity $severity = ContextualFeedbackSeverity::INFO ]) : void
Parameters
$message : string
$title : string = ''
$severity : ContextualFeedbackSeverity = ContextualFeedbackSeverity::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

updateAction()

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

        
On this page

Search results