RecordsContentObject

class \TYPO3\CMS\Frontend\ContentObject\RecordsContentObject

Extends
AbstractContentObject

Contains RECORDS class object.

Table of Contents

Properties

$cObj  : ContentObjectRenderer|null
$data  : array
List of all selected records with full data, arranged per table
$itemArray  : array
List of all items with table and uid information
$request  : ServerRequestInterface
Always set via setRequest() by ContentObjectFactory after instantiation
$timeTracker  : TimeTracker

Methods

__construct()  : mixed
getContentObjectRenderer()  : 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
isRecordsPageAccessible()  : bool
Checks if the records page is accessible

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

Always set via setRequest() by ContentObjectFactory after instantiation

protected ServerRequestInterface $request

Methods

render()

Rendering the cObject, RECORDS

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

Parameters

$conf : mixed = []

Array of TypoScript properties (marked as "mixed" currently because we don't know what we're receiving)

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

isRecordsPageAccessible()

Checks if the records page is accessible

protected isRecordsPageAccessible(string $table, array $row, array $conf) : bool

Parameters

$table : string
$row : array
$conf : array

Return values

bool
On this page