RecordsContentObject extends AbstractContentObject

Contains RECORDS class object.

Table of Contents

Properties

$cObj  : ContentObjectRenderer
$data  : array<string|int, mixed>
List of all selected records with full data, arranged per table
$itemArray  : array<string|int, mixed>
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<string|int, mixed> $data = []

$itemArray

List of all items with table and uid information

protected array<string|int, mixed> $itemArray = []

$request

protected ServerRequestInterface|null $request = null

Methods

render()

Rendering the cObject, RECORDS

public render([array<string|int, mixed> $conf = [] ]) : string
Parameters
$conf : array<string|int, mixed> = []

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<string|int, mixed> $tables, string $relationField) : mixed
Parameters
$selectedCategories : string

Comma-separated list of categories

$tables : array<string|int, mixed>

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<string|int, mixed> $tables) : mixed
Parameters
$source : string

Source of records

$tables : array<string|int, mixed>

List of tables

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool
Return values
bool

        
On this page

Search results