![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
![]() | |
process (ContentObjectRenderer $cObj, array $contentObjectConfiguration, array $processorConfiguration, array $processedData) | |
Protected Attributes | |
$contentDataProcessor | |
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.
__construct | ( | ) |
Constructor
Definition at line 56 of file DatabaseQueryProcessor.php.
References GeneralUtility\makeInstance().
|
protected |
Definition at line 51 of file DatabaseQueryProcessor.php.