MassActionHandler
class \
Class encapsulates all actions which are triggered for all elements within the current workspace.
Internal
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Constants
- MAX_RECORDS_TO_PROCESS : mixed = 30
Properties
Methods
- __construct() : mixed
- flushWorkspace() : array
- Flushes the current workspace.
- publishWorkspace() : array
- 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
Parameters
- $parameters : stdClass
Return values
arraypublishWorkspace()
Publishes the current workspace.
public
publishWorkspace(stdClass $parameters) : array
Parameters
- $parameters : stdClass
Return values
arraygetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetCurrentWorkspace()
Gets the current workspace ID.
protected
getCurrentWorkspace() : int
Return values
int —The current workspace ID
getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceinitFlushData()
Initializes the command map to be used for flushing.
protected
initFlushData(int $workspace[, int $language = null ]) : int
Parameters
- $workspace : int
- $language : int = null
Return values
intinitPublishData()
Initializes the command map to be used for publishing.
protected
initPublishData(int $workspace[, int $language = null ]) : int
Parameters
- $workspace : int
- $language : int = 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