‪TYPO3CMS  ‪main
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
 injectNodeFactory (NodeFactory $nodeFactory)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 setData (array $data)
 

Protected Member Functions

string getHTMLCodeForEditor (string $name, string $class='', string $content='', array $attributes=[], array $settings=[], array $hiddenfields=[])
 
 getMode ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
array renderFieldInformation ()
 
array renderFieldControl ()
 
array renderFieldWizard ()
 
 renderLabel (string $for)
 
 wrapWithFieldsetAndLegend (string $innerHTML)
 
 hasNullCheckboxButNoPlaceholder ()
 
 hasNullCheckboxWithPlaceholder ()
 
string formatValue ($format, $itemValue, $formatOptions=[])
 
int formMaxWidth ($size=48)
 
 resolveJavaScriptEvaluation (array $resultArray, string $name, ?object $evalObject)
 
string checkBoxParams (string $itemName, int $formElementValue, int $checkbox, int $checkboxesCount, array $fieldChangeFuncs=[], bool $invert=false)
 
 calculateColumnMarkup (int $cols)
 
 appendValueToLabelInDebugMode (string|int $label, string|int $value)
 
 getLanguageService ()
 
 getBackendUser ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
 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
 
NodeFactory $nodeFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array $data = []
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

t3editor FormEngine widget

Definition at line 34 of file T3editorElement.php.

Member Function Documentation

◆ getHTMLCodeForEditor()

string TYPO3\CMS\T3editor\Form\Element\T3editorElement::getHTMLCodeForEditor ( string  $name,
string  $class = '',
string  $content = '',
array  $attributes = [],
array  $settings = [],
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
array$attributes‪Any additional editor parameters
Returns
‪string Generated HTML code for editor
Exceptions

Definition at line 179 of file T3editorElement.php.

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

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

◆ getMode()

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

Definition at line 233 of file T3editorElement.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

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

◆ 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 48 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 58 of file T3editorElement.php.

◆ $mode

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

◆ $resultArray

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