ItemProcessingService
Provides services around item processing
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
Methods
- __construct() : mixed
- getProcessingItems() : array<string|int, mixed>
- Executes an itemsProcFunc if defined in TCA and returns the combined result (predefined + processed items)
- getLanguageService() : LanguageService
- resolveSite() : SiteInterface
Properties
$siteFinder read-only
protected
SiteFinder
$siteFinder
Methods
__construct()
public
__construct(SiteFinder $siteFinder) : mixed
Parameters
- $siteFinder : SiteFinder
getProcessingItems()
Executes an itemsProcFunc if defined in TCA and returns the combined result (predefined + processed items)
public
getProcessingItems(string $table, int $realPid, string $field, array<string|int, mixed> $row, array<string|int, mixed> $tcaConfig, array<string|int, mixed> $selectedItems) : array<string|int, mixed>
Parameters
- $table : string
- $realPid : int
-
Record pid. This is the pid of the record.
- $field : string
- $row : array<string|int, mixed>
- $tcaConfig : array<string|int, mixed>
-
The TCA configuration of $field
- $selectedItems : array<string|int, mixed>
-
The items already defined in the TCA configuration
Return values
array<string|int, mixed> —The processed items (including the predefined items)
getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceresolveSite()
protected
resolveSite(int $pageId) : SiteInterface
Parameters
- $pageId : int