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

Public Member Functions

 checkIntegrity (\stdClass $parameters)
 
 getWorkspaceInfos ($parameter)
 
 getStageActions (\stdClass $parameter)
 
 getCommentsForRecord ($uid, $table)
 
 getSystemLanguages ()
 

Protected Member Functions

 getGridDataService ()
 
 getStagesService ()
 
 getDifferenceHandler ()
 
 getObjectManager ()
 
- Protected Member Functions inherited from TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler
 getCurrentWorkspace ()
 
 getErrorResponse ($errorLabel, $errorCode=0, $successFlagValue=false)
 
 getWorkspaceService ()
 
 validateLanguageParameter (\stdClass $parameters)
 
 getAffectedElements (\stdClass $parameters)
 

Protected Attributes

 $gridDataService
 
 $stagesService
 
 $differenceHandler
 

Detailed Description

ExtDirect server

Definition at line 27 of file ExtDirectServer.php.

Member Function Documentation

◆ checkIntegrity()

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::checkIntegrity ( \stdClass  $parameters)

Checks integrity of elements before peforming actions on them.

Parameters
\stdClass$parameters
Returns
array

Definition at line 50 of file ExtDirectServer.php.

References TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler\getAffectedElements().

◆ getCommentsForRecord()

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::getCommentsForRecord (   $uid,
  $table 
)

Gets an array with all sys_log entries and their comments for the given record uid and table

Parameters
int$uiduid of changed element to search for in log
string$tableName of the record's table
Returns
array

Definition at line 353 of file ExtDirectServer.php.

References $GLOBALS, $uid, TYPO3\CMS\Backend\Utility\BackendUtility\datetime(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecord(), and TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStagesService().

Referenced by TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions().

◆ getDifferenceHandler()

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::getDifferenceHandler ( )
protected

Gets the difference handler, parsing differences based on sentences.

Returns

Definition at line 441 of file ExtDirectServer.php.

References TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\$differenceHandler.

Referenced by TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions().

◆ getGridDataService()

◆ getObjectManager()

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::getObjectManager ( )
protected
Returns

Definition at line 453 of file ExtDirectServer.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getStageActions()

◆ getStagesService()

◆ getSystemLanguages()

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::getSystemLanguages ( )

◆ getWorkspaceInfos()

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::getWorkspaceInfos (   $parameter)

Member Data Documentation

◆ $differenceHandler

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::$differenceHandler
protected

◆ $gridDataService

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::$gridDataService
protected

◆ $stagesService

TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer::$stagesService
protected