‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\ContentObject\FilesContentObject Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\FilesContentObject:
TYPO3\CMS\Frontend\ContentObject\AbstractContentObject

Public Member Functions

string render ($conf=[])
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Frontend\ContentObject\AbstractContentObject
 __construct (ContentObjectRenderer $cObj)
 
ContentObjectRenderer getContentObjectRenderer ()
 

Protected Member Functions

FileCollector findAndSortFiles (array $conf)
 
 addFileReferences (array $configuration, array $element, FileCollector $fileCollector)
 
TYPO3 CMS Frontend Page PageRepository getPageRepository ()
 
FileCollector getFileCollector ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Frontend\ContentObject\AbstractContentObject
PageRenderer getPageRenderer ()
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Frontend\ContentObject\AbstractContentObject
ContentObjectRenderer $cObj
 
PageRenderer $pageRenderer
 

Detailed Description

Contains FILES content object

Definition at line 25 of file FilesContentObject.php.

Member Function Documentation

◆ addFileReferences()

TYPO3\CMS\Frontend\ContentObject\FilesContentObject::addFileReferences ( array  $configuration,
array  $element,
FileCollector  $fileCollector 
)
protected

Handles and resolves file references.

Parameters
array$configuration‪TypoScript configuration
array$element‪The parent element referencing to files
FileCollector$fileCollector

Definition at line 171 of file FilesContentObject.php.

References TYPO3\CMS\Frontend\Resource\FileCollector\addFilesFromRelation(), and TYPO3\CMS\Frontend\ContentObject\FilesContentObject\getPageRepository().

Referenced by TYPO3\CMS\Frontend\ContentObject\FilesContentObject\findAndSortFiles().

◆ findAndSortFiles()

FileCollector TYPO3\CMS\Frontend\ContentObject\FilesContentObject::findAndSortFiles ( array  $conf)
protected

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

Parameters
array$conf
Returns
‪FileCollector

Definition at line 101 of file FilesContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\FilesContentObject\addFileReferences(), and TYPO3\CMS\Frontend\ContentObject\FilesContentObject\getFileCollector().

Referenced by TYPO3\CMS\Frontend\ContentObject\FilesContentObject\render().

◆ getFileCollector()

FileCollector TYPO3\CMS\Frontend\ContentObject\FilesContentObject::getFileCollector ( )
protected
Returns
‪FileCollector

Definition at line 216 of file FilesContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\FilesContentObject\findAndSortFiles().

◆ getPageRepository()

TYPO3 CMS Frontend Page PageRepository TYPO3\CMS\Frontend\ContentObject\FilesContentObject::getPageRepository ( )
protected
Returns
‪\TYPO3\CMS\Frontend\Page\PageRepository

Definition at line 208 of file FilesContentObject.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Frontend\ContentObject\FilesContentObject\addFileReferences().

◆ render()

string TYPO3\CMS\Frontend\ContentObject\FilesContentObject::render (   $conf = [])

Rendering the cObject FILES

Parameters
array$conf‪Array of TypoScript properties
Returns
‪string Output

Reimplemented from TYPO3\CMS\Frontend\ContentObject\AbstractContentObject.

Definition at line 33 of file FilesContentObject.php.

References $GLOBALS, TYPO3\CMS\Frontend\ContentObject\FilesContentObject\findAndSortFiles(), and TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange().