‪TYPO3CMS  11.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 ()
 
 setRequest (ServerRequestInterface $request)
 
 setContentObjectRenderer (ContentObjectRenderer $cObj)
 

Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

Contains FILES content object

Definition at line 26 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 150 of file FilesContentObject.php.

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

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

◆ findAndSortFiles()

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

◆ getFileCollector()

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

Definition at line 189 of file FilesContentObject.php.

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

◆ render()

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