‪TYPO3CMS  10.4
TYPO3\CMS\Core\DataHandling\ItemProcessingService Class Reference

Public Member Functions

array getProcessingItems ($table, $pageId, $field, $row, $tcaConfig, $selectedItems)
 

Protected Member Functions

LanguageService getLanguageService ()
 

Detailed Description

Provides services around item processing

Definition at line 27 of file ItemProcessingService.php.

Member Function Documentation

◆ getLanguageService()

LanguageService TYPO3\CMS\Core\DataHandling\ItemProcessingService::getLanguageService ( )
protected
Returns
‪LanguageService

Definition at line 89 of file ItemProcessingService.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\ItemProcessingService\getProcessingItems().

◆ getProcessingItems()

array TYPO3\CMS\Core\DataHandling\ItemProcessingService::getProcessingItems (   $table,
  $pageId,
  $field,
  $row,
  $tcaConfig,
  $selectedItems 
)

Executes an itemsProcFunc if defined in TCA and returns the combined result (predefined + processed items)

Parameters
string$table
int$pageId
string$field
array$row
array$tcaConfig‪The TCA configuration of $field
array$selectedItems‪The items already defined in the TCA configuration
Returns
‪array The processed items (including the predefined items)

Definition at line 40 of file ItemProcessingService.php.

References $GLOBALS, TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR, TYPO3\CMS\Core\DataHandling\ItemProcessingService\getLanguageService(), and TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig().