RecordsContentObject

class \TYPO3\CMS\Frontend\ContentObject\RecordsContentObject

Extends
AbstractContentObject

Contains RECORDS class object.

Table of Contents

Properties

$cObj  : ContentObjectRenderer
$data  : array
List of all selected records with full data, arranged per table
$itemArray  : array
List of all items with table and uid information
$pageRenderer  : PageRenderer
$request  : ServerRequestInterface|null

Methods

__construct()  : mixed
Default constructor.
getContentObjectRenderer()  : ContentObjectRenderer
Getter for current ContentObjectRenderer
render()  : string
Rendering the cObject, RECORDS
setContentObjectRenderer()  : void
setRequest()  : void
collectRecordsFromCategories()  : mixed
Collects records for all selected tables and categories.
collectRecordsFromSource()  : mixed
Collects records according to the configured source
getPageRenderer()  : PageRenderer
getPageRepository()  : PageRepository
getTimeTracker()  : TimeTracker
getTypoScriptFrontendController()  : TypoScriptFrontendController
hasTypoScriptFrontendController()  : bool

Properties

$data

List of all selected records with full data, arranged per table

protected array $data = []

$itemArray

List of all items with table and uid information

protected array $itemArray = []

$request

protected ServerRequestInterface|null $request = null

Methods

render()

Rendering the cObject, RECORDS

public render([array $conf = [] ]) : string

Parameters

$conf : array = []

Array of TypoScript properties

Return values

string —

Output

setRequest()

public setRequest(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

collectRecordsFromCategories()

Collects records for all selected tables and categories.

protected collectRecordsFromCategories(string $selectedCategories, array $tables, string $relationField) : mixed

Parameters

$selectedCategories : string

Comma-separated list of categories

$tables : array

List of tables

$relationField : string

Name of the field containing the categories relation

collectRecordsFromSource()

Collects records according to the configured source

protected collectRecordsFromSource(string $source, array $tables) : mixed

Parameters

$source : string

Source of records

$tables : array

List of tables

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool

Return values

bool
On this page