TYPO3 CMS  TYPO3_8-7
TYPO3\CMS\Backend\Form\FieldWizard\OtherLanguageContent Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\FieldWizard\OtherLanguageContent:
TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

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

Protected Member Functions

 previewFieldValue ($value, $config, $field='')
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Form\AbstractNode
 initializeResultArray ()
 
 mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
 getValidationDataAsDataAttribute (array $config)
 
 getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Backend\Form\AbstractNode
 $nodeFactory
 
 $data = []
 
 $defaultFieldInformation = []
 
 $defaultFieldControl = []
 
 $defaultFieldWizard = []
 

Detailed Description

Render values of "other" languages. If editing a localized row, this is typically the content value of the according default record, but it may render field values of other languages too, depending on configuration.

Definition at line 29 of file OtherLanguageContent.php.

Member Function Documentation

◆ previewFieldValue()

TYPO3\CMS\Backend\Form\FieldWizard\OtherLanguageContent::previewFieldValue (   $value,
  $config,
  $field = '' 
)
protected

Rendering preview output of a field value which is not shown as a form field but just outputted.

Parameters
string$valueThe value to output
array$configConfiguration for field.
string$fieldName of field.
Returns
string HTML formatted output

Definition at line 104 of file OtherLanguageContent.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\formatSize(), TYPO3\CMS\Core\Utility\GeneralUtility\getFileAbsFileName(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL, TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode(), and TYPO3\CMS\Backend\Utility\BackendUtility\wrapClickMenuOnIcon().

Referenced by TYPO3\CMS\Backend\Form\FieldWizard\OtherLanguageContent\render().

◆ render()