ItemProcessingService

readonly class \TYPO3\CMS\Core\DataHandling\ItemProcessingService

Provides services around item processing

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Properties

$flashMessageService  : FlashMessageService
$siteFinder  : SiteFinder
$tcaSchemaFactory  : TcaSchemaFactory

Methods

__construct()  : mixed
getProcessingItems()  : array
Executes an itemsProcFunc or itemsProcessors if defined in TCA and returns the combined result (predefined + processed items)
processItems()  : SelectItemCollection
resolveSite()  : SiteInterface
getLanguageService()  : LanguageService

Properties

Methods

getProcessingItems()

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

public getProcessingItems(string $table, int $realPid, string $field, array $row, array $tcaConfig, array $selectedItems) : array

Parameters

$table : string
$realPid : int

Record pid. This is the pid of the record.

$field : string
$row : array
$tcaConfig : array

The TCA configuration of $field

$selectedItems : array

The items already defined in the TCA configuration

Tags

throws
Exception
throws
UndefinedFieldException
throws
UndefinedSchemaException

Return values

array —

The processed items (including the predefined items)

On this page