TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\ContentObject\FilesContentObject Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\FilesContentObject:
TYPO3\CMS\Frontend\ContentObject\AbstractContentObject

Public Member Functions

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

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Frontend\ContentObject\AbstractContentObject
 $cObj
 
 $pageRenderer = null
 

Detailed Description

Contains FILES content object

Definition at line 24 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$configurationTypoScript configuration
array$elementThe parent element referencing to files
FileCollector$fileCollector
Returns
array

Definition at line 166 of file FilesContentObject.php.

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

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

◆ findAndSortFiles()

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

◆ getFileCollector()

TYPO3\CMS\Frontend\ContentObject\FilesContentObject::getFileCollector ( )
protected

◆ getPageRepository()

TYPO3\CMS\Frontend\ContentObject\FilesContentObject::getPageRepository ( )
protected

◆ render()

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

Rendering the cObject FILES

Parameters
array$confArray of TypoScript properties
Returns
string Output

Definition at line 32 of file FilesContentObject.php.

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