ManagementController

readonly class \TYPO3\CMS\Reactions\Controller\ManagementController

The Administration > Integrations > Reaction module: Rendering the listing of reactions.

Attributes

#[AsController]

Table of Contents

Methods

__construct()  : mixed
handleRequest()  : ResponseInterface
resolveDryRunAction()  : ResponseInterface
tryOutAction()  : ResponseInterface
The AJAX route inherits the access of the module, which is admin only. It is checked here as well, since the actions are not bound to be reached through that route.
getBackendUser()  : BackendUserAuthentication
getCreateRecordReaction()  : CreateRecordReaction|null
getJsonEditorMode()  : JavaScriptModuleInstruction
getLanguageService()  : LanguageService
getPageDetails()  : array{uid: int, title: string, exists: bool}
getRequestedReactionUid()  : int
getRowDetails()  : array<int, array{table: string, page: array{uid: int, title: string, exists: bool}, user: array{uid: int, username: string, disabled: bool, exists: bool}, lastCall: array{time: int, status: int, successful: bool, failure: string}}>
getSubmittedPayload()  : string
getUserDetails()  : array{uid: int, username: string, disabled: bool, exists: bool}
registerDocHeaderButtons()  : void

Methods

__construct()

public __construct(UriBuilder $uriBuilder, IconFactory $iconFactory, ModuleTemplateFactory $moduleTemplateFactory, ReactionRegistry $reactionRegistry, ReactionRepository $reactionRepository, ComponentFactory $componentFactory, BackendViewFactory $backendViewFactory, CodeEditorConfiguration $codeEditorConfiguration, CreateRecordDryRun $createRecordDryRun, TcaSchemaFactory $tcaSchemaFactory) : mixed

Parameters

$uriBuilder : UriBuilder
$iconFactory : IconFactory
$moduleTemplateFactory : ModuleTemplateFactory
$reactionRegistry : ReactionRegistry
$reactionRepository : ReactionRepository
$componentFactory : ComponentFactory
$backendViewFactory : BackendViewFactory
$codeEditorConfiguration : CodeEditorConfiguration
$createRecordDryRun : CreateRecordDryRun
$tcaSchemaFactory : TcaSchemaFactory

handleRequest()

public handleRequest(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

resolveDryRunAction()

public resolveDryRunAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

tryOutAction()

The AJAX route inherits the access of the module, which is admin only. It is checked here as well, since the actions are not bound to be reached through that route.

public tryOutAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

getPageDetails()

protected getPageDetails(int $uid) : array{uid: int, title: string, exists: bool}

Parameters

$uid : int

Return values

array{uid: int, title: string, exists: bool}

getRequestedReactionUid()

protected getRequestedReactionUid(ServerRequestInterface $request) : int

Parameters

$request : ServerRequestInterface

Return values

int

getRowDetails()

protected getRowDetails(iterable<string|int, ReactionInstruction> $reactions) : array<int, array{table: string, page: array{uid: int, title: string, exists: bool}, user: array{uid: int, username: string, disabled: bool, exists: bool}, lastCall: array{time: int, status: int, successful: bool, failure: string}}>

Parameters

$reactions : iterable<string|int, ReactionInstruction>

Return values

array<int, array{table: string, page: array{uid: int, title: string, exists: bool}, user: array{uid: int, username: string, disabled: bool, exists: bool}, lastCall: array{time: int, status: int, successful: bool, failure: string}}>

getSubmittedPayload()

protected getSubmittedPayload(ServerRequestInterface $request) : string

Parameters

$request : ServerRequestInterface

Return values

string

getUserDetails()

protected getUserDetails(int $uid) : array{uid: int, username: string, disabled: bool, exists: bool}

Parameters

$uid : int

Return values

array{uid: int, username: string, disabled: bool, exists: bool}
On this page