All Classes Namespaces Files Functions Variables Pages
DatabaseQueryProcessor Class Reference
Inheritance diagram for DatabaseQueryProcessor:

Public Member Functions

 __construct ()
- Public Member Functions inherited from DataProcessorInterface
 process (ContentObjectRenderer $cObj, array $contentObjectConfiguration, array $processorConfiguration, array $processedData)

Protected Attributes


Detailed Description

Fetch records from the database, using the default .select syntax from TypoScript.

This way, e.g. a FLUIDTEMPLATE cObject can iterate over the array of records.

Example TypoScript configuration:

10 = TYPO3 10 { table = tt_address pidInList = 123 where = company="Acme" AND first_name="Ralph" order = RAND() as = addresses dataProcessing { 10 = TYPO3 10 { references.fieldName = image } } }

where "as" means the variable to be containing the result-set from the DB query.

Definition at line 46 of file DatabaseQueryProcessor.php.

Constructor & Destructor Documentation

__construct ( )


Definition at line 56 of file DatabaseQueryProcessor.php.

References GeneralUtility\makeInstance().

Member Data Documentation


Definition at line 51 of file DatabaseQueryProcessor.php.