FilesContentObject

class \TYPO3\CMS\Frontend\ContentObject\FilesContentObject

Extends
AbstractContentObject

Contains FILES content object

Table of Contents

Properties

$cObj  : ContentObjectRenderer
$pageRenderer  : PageRenderer
$request  : ServerRequestInterface|null

Methods

__construct()  : mixed
Default constructor.
getContentObjectRenderer()  : ContentObjectRenderer
Getter for current 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

$request

protected ServerRequestInterface|null $request = null

Methods

render()

Rendering the cObject FILES

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

addFileReferences()

Handles and resolves file references.

protected addFileReferences(array $configuration, array $element, FileCollector $fileCollector) : mixed

Parameters

$configuration : array

TypoScript configuration

$element : array

The parent element referencing to files

$fileCollector : FileCollector

findAndSortFiles()

Function to check for references, collections, folders and accumulates into one etc.

protected findAndSortFiles(array $conf) : FileCollector

Parameters

$conf : array

Return values

FileCollector

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool

Return values

bool
On this page