TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ExtDirectServer Class Reference
Inheritance diagram for ExtDirectServer:
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 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 ( \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 $response, and AbstractHandler\getAffectedElements().

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 350 of file ExtDirectServer.php.

References $GLOBALS, BackendUtility\datetime(), BackendUtility\getRecord(), and ExtDirectServer\getStagesService().

getDifferenceHandler ( )
protected

Gets the difference handler, parsing differences based on sentences.

Returns

Definition at line 438 of file ExtDirectServer.php.

References ExtDirectServer\$differenceHandler.

getGridDataService ( )
protected
getObjectManager ( )
protected
Returns

Definition at line 450 of file ExtDirectServer.php.

References GeneralUtility\makeInstance().

getStageActions ( \stdClass  $parameter)

Get List of available workspace actions

Parameters
\stdClass$parameter
Returns
array $data

Definition at line 101 of file ExtDirectServer.php.

References AbstractHandler\getCurrentWorkspace(), ExtDirectServer\getStagesService(), and WorkspaceService\SELECT_ALL_WORKSPACES.

getStagesService ( )
protected
getSystemLanguages ( )

Gets all available system languages.

Returns
array

Definition at line 380 of file ExtDirectServer.php.

References ExtDirectServer\getGridDataService(), GeneralUtility\makeInstance(), and Icon\SIZE_SMALL.

getWorkspaceInfos (   $parameter)

Get List of workspace changes

Parameters
\stdClass$parameter
Returns
array $data

Definition at line 66 of file ExtDirectServer.php.

References AbstractHandler\getCurrentWorkspace(), ExtDirectServer\getGridDataService(), and AbstractHandler\getWorkspaceService().

Member Data Documentation

$differenceHandler
protected

Definition at line 42 of file ExtDirectServer.php.

Referenced by ExtDirectServer\getDifferenceHandler().

$gridDataService
protected

Definition at line 32 of file ExtDirectServer.php.

Referenced by ExtDirectServer\getGridDataService().

$stagesService
protected

Definition at line 37 of file ExtDirectServer.php.

Referenced by ExtDirectServer\getStagesService().