‪TYPO3CMS  ‪main
TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler Class Reference

Public Member Functions

 __construct ()
 
 publishWorkspace (\stdClass $parameters)
 
 flushWorkspace (\stdClass $parameters)
 

Public Attributes

const MAX_RECORDS_TO_PROCESS = 30
 

Protected Member Functions

 initPublishData (int $workspace, int $language=null)
 
 initFlushData (int $workspace, int $language=null)
 
 processData ()
 
 validateLanguageParameter (\stdClass $parameters)
 
 getCurrentWorkspace ()
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

WorkspaceService $workspaceService
 

Detailed Description

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.

Definition at line 31 of file MassActionHandler.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::__construct ( )

Definition at line 37 of file MassActionHandler.php.

Member Function Documentation

◆ flushWorkspace()

◆ getBackendUser()

◆ getCurrentWorkspace()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::getCurrentWorkspace ( )
protected

◆ getLanguageService()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::getLanguageService ( )
protected

Definition at line 204 of file MassActionHandler.php.

References $GLOBALS.

◆ initFlushData()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::initFlushData ( int  $workspace,
int  $language = null 
)
protected

◆ initPublishData()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::initPublishData ( int  $workspace,
int  $language = null 
)
protected

Initializes the command map to be used for publishing.

Definition at line 96 of file MassActionHandler.php.

References TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler\getBackendUser().

Referenced by TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler\publishWorkspace().

◆ processData()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::processData ( )
protected

◆ publishWorkspace()

◆ validateLanguageParameter()

TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::validateLanguageParameter ( \stdClass  $parameters)
protected

Member Data Documentation

◆ $workspaceService

WorkspaceService TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::$workspaceService
protected

Definition at line 35 of file MassActionHandler.php.

◆ MAX_RECORDS_TO_PROCESS

const TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler::MAX_RECORDS_TO_PROCESS = 30

Definition at line 33 of file MassActionHandler.php.