TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\ContentObject\DataProcessorInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\DataProcessorInterface:
TYPO3\CMS\Frontend\DataProcessing\CommaSeparatedValueProcessor TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor TYPO3\CMS\Frontend\DataProcessing\FilesProcessor TYPO3\CMS\Frontend\DataProcessing\GalleryProcessor TYPO3\CMS\Frontend\DataProcessing\SplitProcessor TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Fixtures\DataProcessorFixture

Public Member Functions

 process (ContentObjectRenderer $cObj, array $contentObjectConfiguration, array $processorConfiguration, array $processedData)
 

Detailed Description

Interface for data processor classes processing data from ContentObjectRenderer, used e.g. with the FLUIDTEMPLATE content object

Definition at line 21 of file DataProcessorInterface.php.

Member Function Documentation

◆ process()

TYPO3\CMS\Frontend\ContentObject\DataProcessorInterface::process ( ContentObjectRenderer  $cObj,
array  $contentObjectConfiguration,
array  $processorConfiguration,
array  $processedData 
)

Process content object data

Parameters
ContentObjectRenderer$cObjThe data of the content element or page
array$contentObjectConfigurationThe configuration of Content Object
array$processorConfigurationThe configuration of this processor
array$processedDataKey/value store of processed data (e.g. to be passed to a Fluid View)
Returns
array the processed data as key/value store

Implemented in TYPO3\CMS\Frontend\DataProcessing\GalleryProcessor, TYPO3\CMS\Frontend\DataProcessing\CommaSeparatedValueProcessor, TYPO3\CMS\Frontend\DataProcessing\SplitProcessor, and TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Fixtures\DataProcessorFixture.

Referenced by TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor\__construct().