TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler:
TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler

Public Member Functions

 getMassStageActions ($parameter)
 
 publishWorkspace (\stdclass $parameters)
 
 flushWorkspace (\stdclass $parameters)
 

Public Attributes

const MAX_RECORDS_TO_PROCESS = 30
 

Protected Member Functions

 initPublishData ($workspace, $swap, $language=null)
 
 initFlushData ($workspace, $language=null)
 
- Protected Member Functions inherited from TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler
 getCurrentWorkspace ()
 
 getErrorResponse ($errorLabel, $errorCode=0, $successFlagValue=false)
 
 getWorkspaceService ()
 
 validateLanguageParameter (\stdClass $parameters)
 
 getAffectedElements (\stdClass $parameters)
 

Private Attributes

 $pathToLocallang = 'LLL:EXT:workspaces/Resources/Private/Language/locallang.xlf'
 

Detailed Description

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

Definition at line 20 of file MassActionHandler.php.

Member Function Documentation

◆ flushWorkspace()

TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler::flushWorkspace ( \stdclass  $parameters)

◆ getMassStageActions()

TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler::getMassStageActions (   $parameter)

◆ initFlushData()

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

Initializes the command map to be used for flushing.

Parameters
int$workspace
int$language
Returns
int

Definition at line 151 of file MassActionHandler.php.

References $GLOBALS, TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler\getWorkspaceService(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler\flushWorkspace().

◆ initPublishData()

TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler::initPublishData (   $workspace,
  $swap,
  $language = null 
)
protected

Initializes the command map to be used for publishing.

Parameters
int$workspace
bool$swap
int$language
Returns
int

Definition at line 128 of file MassActionHandler.php.

References $GLOBALS, and TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler\getWorkspaceService().

Referenced by TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler\publishWorkspace().

◆ publishWorkspace()

TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler::publishWorkspace ( \stdclass  $parameters)

Member Data Documentation

◆ $pathToLocallang

TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler::$pathToLocallang = 'LLL:EXT:workspaces/Resources/Private/Language/locallang.xlf'
private

Definition at line 29 of file MassActionHandler.php.

◆ MAX_RECORDS_TO_PROCESS

const TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler::MAX_RECORDS_TO_PROCESS = 30

Definition at line 22 of file MassActionHandler.php.