‪TYPO3CMS  10.4
TYPO3\CMS\T3editor\Form\Element\T3editorElement Class Reference
Inheritance diagram for TYPO3\CMS\T3editor\Form\Element\T3editorElement:
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 getHTMLCodeForEditor (string $name, string $class='', string $content='', string $additionalParams='', string $label='', array $hiddenfields=[])
 
Mode getMode ()
 
- ‪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)
 

Protected Attributes

array $resultArray
 
string $mode = ''
 
array $defaultFieldInformation
 
array $defaultFieldWizard
 
- ‪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

t3editor FormEngine widget

Definition at line 33 of file T3editorElement.php.

Member Function Documentation

◆ getHTMLCodeForEditor()

string TYPO3\CMS\T3editor\Form\Element\T3editorElement::getHTMLCodeForEditor ( string  $name,
string  $class = '',
string  $content = '',
string  $additionalParams = '',
string  $label = '',
array  $hiddenfields = [] 
)
protected

Generates HTML with code editor

Parameters
string$name‪Name attribute of HTML tag
string$class‪Class attribute of HTML tag
string$content‪Content of the editor
string$additionalParams‪Any additional editor parameters
string$label‪Codemirror panel label
array$hiddenfields
Returns
‪string Generated HTML code for editor
Exceptions

Definition at line 182 of file T3editorElement.php.

References TYPO3\CMS\T3editor\Form\Element\T3editorElement\$mode, TYPO3\CMS\T3editor\Registry\AddonRegistry\getInstance(), and TYPO3\CMS\T3editor\Form\Element\T3editorElement\getMode().

Referenced by TYPO3\CMS\T3editor\Form\Element\T3editorElement\render().

◆ getMode()

Mode TYPO3\CMS\T3editor\Form\Element\T3editorElement::getMode ( )
protected

◆ render()

Member Data Documentation

◆ $defaultFieldInformation

array TYPO3\CMS\T3editor\Form\Element\T3editorElement::$defaultFieldInformation
protected
Initial value:
= array(
'tcaDescription' => [
'renderType' => 'tcaDescription',
],
)

Default field information enabled for this element.

Definition at line 47 of file T3editorElement.php.

◆ $defaultFieldWizard

array TYPO3\CMS\T3editor\Form\Element\T3editorElement::$defaultFieldWizard
protected
Initial value:
= array(
'localizationStateSelector' => [
'renderType' => 'localizationStateSelector',
],
'otherLanguageContent' => [
'renderType' => 'otherLanguageContent',
'after' => [
'localizationStateSelector',
],
],
'defaultLanguageDifferences' => [
'renderType' => 'defaultLanguageDifferences',
'after' => [
'otherLanguageContent',
],
],
)

Default field wizards enabled for this element.

Definition at line 57 of file T3editorElement.php.

◆ $mode

string TYPO3\CMS\T3editor\Form\Element\T3editorElement::$mode = ''
protected

◆ $resultArray

array TYPO3\CMS\T3editor\Form\Element\T3editorElement::$resultArray
protected