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
$cObj
protected
ContentObjectRenderer
$cObj
$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
= []
$pageRenderer
protected
PageRenderer
$pageRenderer
$request
protected
ServerRequestInterface|null
$request
= null
Methods
__construct()
Default constructor.
public
__construct(ContentObjectRenderer $cObj) : mixed
Parameters
- $cObj : ContentObjectRenderer
getContentObjectRenderer()
Getter for current ContentObjectRenderer
public
getContentObjectRenderer() : ContentObjectRenderer
Return values
ContentObjectRendererrender()
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
setContentObjectRenderer()
public
setContentObjectRenderer(ContentObjectRenderer $cObj) : void
Parameters
- $cObj : ContentObjectRenderer
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
getPageRenderer()
protected
getPageRenderer() : PageRenderer
Return values
PageRenderergetPageRepository()
protected
getPageRepository() : PageRepository
Return values
PageRepositorygetTimeTracker()
protected
getTimeTracker() : TimeTracker
Return values
TimeTrackergetTypoScriptFrontendController()
protected
getTypoScriptFrontendController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllerhasTypoScriptFrontendController()
protected
hasTypoScriptFrontendController() : bool