MassActionHandler
Class encapsulates all actions which are triggered for all elements within the current workspace.
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Constants
Properties
Methods
- __construct() : mixed
- flushWorkspace() : array<string|int, mixed>
- Flushes the current workspace.
- publishWorkspace() : array<string|int, mixed>
- Publishes the current workspace.
- getBackendUser() : BackendUserAuthentication
- getCurrentWorkspace() : int
- Gets the current workspace ID.
- getLanguageService() : LanguageService
- initFlushData() : int
- Initializes the command map to be used for flushing.
- initPublishData() : int
- Initializes the command map to be used for publishing.
- processData() : int
- Processes the data.
- validateLanguageParameter() : int|null
- Validates whether the submitted language parameter can be interpreted as integer value.
Constants
MAX_RECORDS_TO_PROCESS
public
mixed
MAX_RECORDS_TO_PROCESS
= 30
Properties
$workspaceService
protected
WorkspaceService
$workspaceService
Methods
__construct()
public
__construct() : mixed
flushWorkspace()
Flushes the current workspace.
public
flushWorkspace(stdClass $parameters) : array<string|int, mixed>
Parameters
- $parameters : stdClass
Return values
array<string|int, mixed>publishWorkspace()
Publishes the current workspace.
public
publishWorkspace(stdClass $parameters) : array<string|int, mixed>
Parameters
- $parameters : stdClass
Return values
array<string|int, mixed>getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetCurrentWorkspace()
Gets the current workspace ID.
protected
getCurrentWorkspace() : int
Return values
intgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinitFlushData()
Initializes the command map to be used for flushing.
protected
initFlushData(int $workspace[, int|null $language = null ]) : int
Parameters
- $workspace : int
- $language : int|null = null
Return values
intinitPublishData()
Initializes the command map to be used for publishing.
protected
initPublishData(int $workspace[, int|null $language = null ]) : int
Parameters
- $workspace : int
- $language : int|null = null
Return values
intprocessData()
Processes the data.
protected
processData() : int
Return values
intvalidateLanguageParameter()
Validates whether the submitted language parameter can be interpreted as integer value.
protected
validateLanguageParameter(stdClass $parameters) : int|null
Parameters
- $parameters : stdClass