TYPO3  7.6
Public Member Functions | Protected Member Functions | List of all members
NoneElement Class Reference
Inheritance diagram for NoneElement:
AbstractFormElement AbstractNode NodeInterface

Public Member Functions

 render ()
 
- Public Member Functions inherited from AbstractFormElement
 __construct (NodeFactory $nodeFactory, array $data)
 
- Public Member Functions inherited from AbstractNode
 __construct (NodeFactory $nodeFactory, array $data)
 
 render ()
 

Protected Member Functions

 formatValue ($config, $itemValue)
 
- Protected Member Functions inherited from AbstractFormElement
 isWizardsDisabled ()
 
 formMaxWidth ($size=48)
 
 getClipboardElements ($allowed, $mode)
 
 getLanguageService ()
 
- Protected Member Functions inherited from AbstractNode
 initializeResultArray ()
 
 mergeChildReturnIntoExistingResult (array $existing, array $childReturn)
 
 getValidationDataAsDataAttribute (array $config)
 
 getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- Protected Attributes inherited from AbstractFormElement
 $defaultInputWidth = 30
 
 $minimumInputWidth = 10
 
 $maxInputWidth = 50
 
 $clipboard = null
 
 $iconFactory
 

Detailed Description

Generation of TCEform elements where no rendering could be found

Definition at line 24 of file NoneElement.php.

Member Function Documentation

formatValue (   $config,
  $itemValue 
)
protected

Format field content if $config['format'] is set to date, filesize, ..., user

Parameters
array$configConfiguration for the display
string$itemValueThe value to display
Returns
string Formatted field value

Definition at line 77 of file NoneElement.php.

References $GLOBALS, BackendUtility\calcAge(), GeneralUtility\callUserFunction(), MathUtility\forceIntegerInRange(), GeneralUtility\formatSize(), and AbstractFormElement\getLanguageService().

Referenced by NoneElement\render().

render ( )

This will render a non-editable display of the content of the field.

Returns
string The HTML code for the TCEform field

Implements NodeInterface.

Definition at line 31 of file NoneElement.php.

References AbstractFormElement\$defaultInputWidth, MathUtility\forceIntegerInRange(), NoneElement\formatValue(), AbstractFormElement\formMaxWidth(), and AbstractNode\initializeResultArray().