TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler:
TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler Tx_Workspaces_ExtDirect_MassActionHandler

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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Class encapsulates all actions which are triggered for all elements within the current workspace.

Author
Kasper Skårhøj (kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om)
Workspaces Team (http://forge.typo3.org/projects/show/typo3v4-workspaces)

Definition at line 22 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
integer$workspace
integer$language
Returns
integer

Definition at line 148 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
integer$workspace
boolean$swap
integer$language
Returns
integer

Definition at line 126 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 30 of file MassActionHandler.php.

◆ MAX_RECORDS_TO_PROCESS

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

Definition at line 24 of file MassActionHandler.php.