ManagementController
readonly class \
The Administration > Integrations > Reaction module: Rendering the listing of reactions.
Internal
This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.
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
ResponseInterfaceresolveDryRunAction()
public
resolveDryRunAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacetryOutAction()
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
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetCreateRecordReaction()
protected
getCreateRecordReaction(ReactionInstruction $reaction) : CreateRecordReaction|null
Parameters
- $reaction : ReactionInstruction
Return values
CreateRecordReaction|nullgetJsonEditorMode()
protected
getJsonEditorMode() : JavaScriptModuleInstruction
Return values
JavaScriptModuleInstructiongetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetPageDetails()
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
intgetRowDetails()
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
stringgetUserDetails()
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}registerDocHeaderButtons()
protected
registerDocHeaderButtons(ModuleTemplate $view, ReactionDemand $demand) : void
Parameters
- $view : ModuleTemplate
- $demand : ReactionDemand