‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Form\Element\FileInfoElement Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\Element\FileInfoElement:
TYPO3\CMS\Backend\Form\Element\AbstractFormElement TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

array render ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
 __construct (NodeFactory $nodeFactory, array $data)
 

Protected Member Functions

string renderFileInformationContent (File $file=null)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
array renderFieldInformation ()
 
array renderFieldControl ()
 
array renderFieldWizard ()
 
bool hasNullCheckboxButNoPlaceholder ()
 
bool hasNullCheckboxWithPlaceholder ()
 
string formatValue ($format, $itemValue, $formatOptions=[])
 
int formMaxWidth ($size=48)
 
string checkBoxParams ($itemName, $formElementValue, $checkbox, $checkboxesCount, $additionalJavaScript='')
 
array calculateColumnMarkup (int $cols)
 
string appendValueToLabelInDebugMode ($label, $value)
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
string getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
int $defaultInputWidth = 30
 
int $minimumInputWidth = 10
 
int $maxInputWidth = 50
 
IconFactory $iconFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
NodeFactory $nodeFactory
 
array $data = array( )
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

This renderType is used with type=user in FAL for table sys_file and sys_file_metadata, for field fileinfo and renders an informational element with image preview, filename, size and similar.

Definition at line 32 of file FileInfoElement.php.

Member Function Documentation

◆ render()

array TYPO3\CMS\Backend\Form\Element\FileInfoElement::render ( )

◆ renderFileInformationContent()

string TYPO3\CMS\Backend\Form\Element\FileInfoElement::renderFileInformationContent ( File  $file = null)
protected

Renders a HTML Block with file information

Parameters
File$file
Returns
‪string

Definition at line 65 of file FileInfoElement.php.

References $GLOBALS, TYPO3\CMS\Core\Resource\ProcessedFile\CONTEXT_IMAGEPREVIEW, and TYPO3\CMS\Backend\Utility\BackendUtility\getProcessedValue().

Referenced by TYPO3\CMS\Backend\Form\Element\FileInfoElement\render().