NewSchedulerTaskController
New Scheduler Task wizard. This is the modal that pops up when clicking "New Task" in scheduler module.
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[AsController]
Table of Contents
Properties
- $backendViewFactory : BackendViewFactory
- $defaultValues : array<string|int, mixed>
- $eventDispatcher : EventDispatcherInterface
- $returnUrl : string
- $taskService : TaskService
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- getLanguageService() : LanguageService
- getWizardItemsFromTaskRegistry() : array<string|int, mixed>
- Convert TaskService categorized tasks to wizard items
- organizeWizardItems() : array<string|int, mixed>
- Organize wizard items into the categories
Properties
$backendViewFactory read-only
protected
BackendViewFactory
$backendViewFactory
$defaultValues
protected
array<string|int, mixed>
$defaultValues
= []
$eventDispatcher read-only
protected
EventDispatcherInterface
$eventDispatcher
$returnUrl
protected
string
$returnUrl
= ''
$taskService read-only
protected
TaskService
$taskService
$uriBuilder read-only
protected
UriBuilder
$uriBuilder
Methods
__construct()
public
__construct(UriBuilder $uriBuilder, BackendViewFactory $backendViewFactory, EventDispatcherInterface $eventDispatcher, TaskService $taskService) : mixed
Parameters
- $uriBuilder : UriBuilder
- $backendViewFactory : BackendViewFactory
- $eventDispatcher : EventDispatcherInterface
- $taskService : TaskService
handleRequest()
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetWizardItemsFromTaskRegistry()
Convert TaskService categorized tasks to wizard items
protected
getWizardItemsFromTaskRegistry() : array<string|int, mixed>
Return values
array<string|int, mixed>organizeWizardItems()
Organize wizard items into the categories
protected
organizeWizardItems(array<string|int, mixed> $wizardItems) : array<string|int, mixed>
Parameters
- $wizardItems : array<string|int, mixed>