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<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

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
FileCollector

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool
Return values
bool

        
On this page

Search results