TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AdditionalColumnService Class Reference
Inheritance diagram for AdditionalColumnService:
SingletonInterface

Public Member Functions

 register ($columnName, $dataProviderClassOrObject)
 
 getDefinition ()
 
 getHandler ()
 
 getData (\TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord $combinedRecord)
 

Static Public Member Functions

static getInstance ()
 
static getObjectManager ()
 

Protected Attributes

 $columns = []
 

Detailed Description

Service for additional columns in GridPanel

Definition at line 20 of file AdditionalColumnService.php.

Member Function Documentation

getData ( \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord  $combinedRecord)

Gets data for grid data.

Parameters
\TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord$combinedRecord
Returns
array Record data

Definition at line 108 of file AdditionalColumnService.php.

getDefinition ( )

Gets definition for JavaScript settings.

Returns
array Column settings

Definition at line 71 of file AdditionalColumnService.php.

getHandler ( )

Gets JavaScript handler object, e.g. TYPO3.Workspaces.Configuration.AdditionalColumn.extension.MyCustomField

Returns
array Column settings

Definition at line 93 of file AdditionalColumnService.php.

static getInstance ( )
static
Returns

Definition at line 30 of file AdditionalColumnService.php.

static getObjectManager ( )
static
Returns

Definition at line 38 of file AdditionalColumnService.php.

register (   $columnName,
  $dataProviderClassOrObject 
)

Registers data provider for a particular column name.

Parameters
string$columnName
string | object$dataProviderClassOrObject
Returns
void
Exceptions
RuntimeException

Definition at line 51 of file AdditionalColumnService.php.

References GeneralUtility\makeInstance().

Member Data Documentation

$columns = []
protected

Definition at line 25 of file AdditionalColumnService.php.