MassActionHandler

class \TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler

Class encapsulates all actions which are triggered for all elements within the current workspace.

Table of Contents

Constants

MAX_RECORDS_TO_PROCESS  : mixed = 30

Properties

$workspaceService  : WorkspaceService

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

Methods

flushWorkspace()

Flushes the current workspace.

public flushWorkspace(stdClass $parameters) : array

Parameters

$parameters : stdClass

Return values

array

publishWorkspace()

Publishes the current workspace.

public publishWorkspace(stdClass $parameters) : array

Parameters

$parameters : stdClass

Return values

array

getCurrentWorkspace()

Gets the current workspace ID.

protected getCurrentWorkspace() : int

Return values

int —

The current workspace ID

initFlushData()

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

int

initPublishData()

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

int

processData()

Processes the data.

protected processData() : int

Return values

int

validateLanguageParameter()

Validates whether the submitted language parameter can be interpreted as integer value.

protected validateLanguageParameter(stdClass $parameters) : int|null

Parameters

$parameters : stdClass

Return values

int|null
On this page