PermissionController

class \TYPO3\CMS\Beuser\Controller\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)).

Attributes

#[AsController]

Table of Contents

Properties

$backendViewFactory  : BackendViewFactory
$componentFactory  : ComponentFactory
$depth  : int
$flashMessageService  : FlashMessageService
$iconFactory  : IconFactory
$id  : int
$moduleTemplateFactory  : ModuleTemplateFactory
$pageInfo  : array
$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
getLanguageService()  : LanguageService
getRecursiveSelectOptions()  : array
Finding tree and offer setting of values recursively.
getShortcutTitle()  : string
Returns the shortcut title for the current page
getTree()  : array
htmlResponse()  : ResponseInterface
registerDocHeaderButtons()  : void
updateAction()  : ResponseInterface

Properties

$responseFactory read-only

protected ResponseFactoryInterface $responseFactory

$returnUrl

protected string $returnUrl = ''

Methods

__construct()

public __construct(ComponentFactory $componentFactory, ModuleTemplateFactory $moduleTemplateFactory, PageRenderer $pageRenderer, IconFactory $iconFactory, UriBuilder $uriBuilder, ResponseFactoryInterface $responseFactory, BackendViewFactory $backendViewFactory, FlashMessageService $flashMessageService) : mixed

Parameters

$componentFactory : ComponentFactory
$moduleTemplateFactory : ModuleTemplateFactory
$pageRenderer : PageRenderer
$iconFactory : IconFactory
$uriBuilder : UriBuilder
$responseFactory : ResponseFactoryInterface
$backendViewFactory : BackendViewFactory
$flashMessageService : FlashMessageService

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

getDepthOptions()

protected getDepthOptions() : array

Return values

array

getRecursiveSelectOptions()

Finding tree and offer setting of values recursively.

protected getRecursiveSelectOptions() : array

Return values

array

getShortcutTitle()

Returns the shortcut title for the current page

protected getShortcutTitle() : string

Return values

string

getTree()

protected getTree() : array

Return values

array

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