FilesContentObject extends AbstractContentObject
Contains FILES content object
Table of Contents
Properties
- $cObj : ContentObjectRenderer|null
- $pageRenderer : PageRenderer|null
- $request : ServerRequestInterface
- Always set via setRequest() by ContentObjectFactory after instantiation
Methods
- getContentObjectRenderer() : ContentObjectRenderer
- render() : string
- Rendering the cObject FILES
- setContentObjectRenderer() : void
- setRequest() : void
- addFileReferences() : mixed
- Handles and resolves file references.
- findAndSortFiles() : FileCollector
- Function to check for references, collections, folders and accumulates into one etc.
- getFileCollector() : FileCollector
- getPageRenderer() : PageRenderer
- getPageRepository() : PageRepository
- getTypoScriptFrontendController() : TypoScriptFrontendController
- hasTypoScriptFrontendController() : bool
Properties
$cObj
protected
ContentObjectRenderer|null
$cObj
= null
$pageRenderer
protected
PageRenderer|null
$pageRenderer
= null
$request
Always set via setRequest() by ContentObjectFactory after instantiation
protected
ServerRequestInterface
$request
Methods
getContentObjectRenderer()
public
getContentObjectRenderer() : ContentObjectRenderer
Return values
ContentObjectRendererrender()
Rendering the cObject FILES
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
addFileReferences()
Handles and resolves file references.
protected
addFileReferences(array<string|int, mixed> $configuration, array<string|int, mixed> $element, FileCollector $fileCollector) : mixed
Parameters
- $configuration : array<string|int, mixed>
-
TypoScript configuration
- $element : array<string|int, mixed>
-
The parent element referencing to files
- $fileCollector : FileCollector
findAndSortFiles()
Function to check for references, collections, folders and accumulates into one etc.
protected
findAndSortFiles(array<string|int, mixed> $conf) : FileCollector
Parameters
- $conf : array<string|int, mixed>
Return values
FileCollectorgetFileCollector()
protected
getFileCollector() : FileCollector
Return values
FileCollectorgetPageRenderer()
protected
getPageRenderer() : PageRenderer
Return values
PageRenderergetPageRepository()
protected
getPageRepository() : PageRepository
Return values
PageRepositorygetTypoScriptFrontendController()
protected
getTypoScriptFrontendController() : TypoScriptFrontendController
Tags
Return values
TypoScriptFrontendControllerhasTypoScriptFrontendController()
protected
hasTypoScriptFrontendController() : bool