TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Form\FormEngine Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\FormEngine:
t3lib_TCEforms TYPO3\CMS\Backend\Form\FlexFormsHelper TYPO3\CMS\Backend\Form\FrontendFormEngine t3lib_TCEforms_Flexforms t3lib_TCEforms_FE

Public Member Functions

 __construct ()
 
 initDefaultBEmode ()
 
 getSoloField ($table, $row, $theFieldToReturn)
 
 getMainFields ($table, array $row, $depth=0, array $overruleTypesArray=array())
 
 getListedFields ($table, $row, $list)
 
 getPaletteFields ($table, $row, $palette, $header='', $itemList='', $collapsedHeader=NULL)
 
 getSingleField_SW ($table, $field, $row, &$PA)
 
 getSingleField_typeInput ($table, $field, $row, &$PA)
 
 getSingleField_typeText ($table, $field, $row, &$PA)
 
 getSingleField_typeCheck ($table, $field, $row, &$PA)
 
 getSingleField_typeRadio ($table, $field, $row, &$PA)
 
 getSingleField_typeSelect ($table, $field, $row, &$PA)
 
 getSelectItems ($table, $fieldName, array $row, array $PA)
 
 getSingleField_typeSelect_single ($table, $field, $row, &$PA, $config, $selItems, $nMV_label)
 
 getSingleField_typeSelect_checkbox ($table, $field, $row, &$PA, $config, $selItems, $nMV_label)
 
 getSingleField_typeSelect_singlebox ($table, $field, $row, &$PA, $config, $selItems, $nMV_label)
 
 getSingleField_typeSelect_multiple ($table, $field, $row, &$PA, $config, $selItems, $nMV_label)
 
 getSingleField_typeNone ($table, $field, $row, &$PA)
 
 getSingleField_typeNone_render ($config, $itemValue)
 
 getSingleField_typeFlex_langMenu ($languages, $elName, $selectedLanguage, $multi=TRUE)
 
 getSingleField_typeFlex_sheetMenu ($sArr, $elName, $sheetKey)
 
 getSingleField_typeUnknown ($table, $field, $row, &$PA)
 
 getSingleField_typeUser ($table, $field, $row, &$PA)
 
 formatValue ($config, $itemValue)
 
 getRTypeNum ($table, $row)
 
 rearrange ($fields)
 
 getExcludeElements ($table, $row, $typeNum)
 
 getFieldsToAdd ($table, $row, $typeNum)
 
 mergeFieldsWithAddedFields ($fields, $fieldsToAdd, $table='')
 
 setTSconfig ($table, $row, $field='')
 
 overrideFieldConf ($fieldConfig, $TSconfig)
 
 getSpecConfForField ($table, $row, $field)
 
 getSpecConfFromString ($extraString, $defaultExtras)
 
 loadPaletteElements ($table, $row, $palette, $itemList='')
 
 getLanguageOverlayRawValue ($table, $row, $field, $fieldConf)
 
 renderDefaultLanguageContent ($table, $field, $row, $item)
 
 renderDefaultLanguageDiff ($table, $field, $row, $item)
 
 renderVDEFDiff ($vArray, $vDEFkey)
 
 dbFileIcons ($fName, $mode, $allowed, $itemArray, $selector='', $params=array(), $onFocus='', $table='', $field='', $uid='', $config=array())
 
 getClipboardElements ($allowed, $mode)
 
 getClickMenu ($str, $table, $uid=0)
 
 renderWizards ($itemKinds, $wizConf, $table, $row, $field, &$PA, $itemName, $specConf, $RTE=FALSE)
 
 getIcon ($icon)
 
 optionTagStyle ($iconString)
 
 optgroupTagStyle ($iconString)
 
 extractValuesOnlyFromValueLabelList ($itemFormElValue)
 
 wrapOpenPalette ($header, $table, $row, $palette, $retFunc)
 
 wrapPaletteField ($code, $table, $row, $palette, $collapsed)
 
 checkBoxParams ($itemName, $thisValue, $c, $iCount, $addFunc='')
 
 elName ($itemName)
 
 thisReturnUrl ()
 
 getSingleHiddenField ($table, $field, $row)
 
 formWidth ($size=48, $textarea=FALSE)
 
 formWidthText ($size=48, $wrap='')
 
 formElStyle ($type)
 
 formElClass ($type)
 
 formElStyleClassValue ($type, $class=FALSE)
 
 insertDefStyle ($type, $additionalClass='')
 
 getDynTabMenu ($parts, $idString, $dividersToTabsBehaviour=1)
 
 initItemArray ($fieldValue)
 
 addItems ($items, $iArray)
 
 addSelectOptionsToItemArray ($items, $fieldValue, $TSconfig, $field)
 
 addSelectOptionsToItemArray_makeModuleData ($value)
 
 setNewBEDesign ()
 
 intoTemplate ($inArr, $altTemplate='')
 
 addUserTemplateMarkers ($marker, $table, $field, $row, &$PA)
 
 wrapLabels ($str)
 
 wrapTotal ($c, $rec, $table)
 
 replaceTableWrap ($arr, $rec, $table)
 
 wrapBorder (&$out_array, &$out_pointer)
 
 rplColorScheme ($inTemplate)
 
 getDivider ()
 
 printPalette ($palArr)
 
 setColorScheme ($scheme)
 
 resetSchemes ()
 
 storeSchemes ()
 
 restoreSchemes ()
 
 JStop ()
 
 JSbottom ($formname='forms[0]', $update=FALSE)
 
 dbFileCon ($formObj='document.forms[0]')
 
 printNeededJSFunctions_top ()
 
 loadJavascriptLib ($lib)
 
 getDefaultRecord ($table, $pid=0)
 
 getRecordPath ($table, $rec)
 
 readPerms ()
 
 sL ($str)
 
 getLL ($str)
 
 isPalettesCollapsed ($table, $palette)
 
 getTSCpid ($table, $uid, $pid)
 
 doLoadTableDescr ($table)
 
 getAvailableLanguages ($onlyIsoCoded=TRUE, $setDefault=TRUE)
 
 previewFieldValue ($value, $config, $field='')
 
 getAdditionalPreviewLanguages ()
 
 pushToDynNestedStack ($type, $ident)
 
 popFromDynNestedStack ($type=NULL, $ident=NULL)
 
 getDynNestedStack ($json=FALSE, $skipFirst=FALSE)
 
 addStyleSheet ($key, $href, $title='', $relation='stylesheet')
 

Static Public Member Functions

static getHiddenTokenField ($formName='securityToken', $tokenName='formToken')
 

Public Attributes

 $palFieldArr = array()
 
 $disableWizards = FALSE
 
 $isPalettedoc = FALSE
 
 $paletteMargin = 1
 
 $defStyle = ''
 
 $cachedTSconfig = array()
 
 $cachedTSconfig_fieldLevel = array()
 
 $cachedLanguageFlag = array()
 
 $cachedAdditionalPreviewLanguages = NULL
 
 $transformedRow = array()
 
 $extJSCODE = ''
 
 $printNeededJS = array()
 
 $hiddenFieldAccum = array()
 
 $TBE_EDITOR_fieldChanged_func = ''
 
 $loadMD5_JS = TRUE
 
 $defaultLanguageData = array()
 
 $defaultLanguageData_diff = array()
 
 $additionalPreviewLanguageData = array()
 
 $backPath = ''
 
 $returnUrl = ''
 
 $doSaveFieldName = ''
 
 $palettesCollapsed = FALSE
 
 $disableRTE = FALSE
 
 $globalShowHelp = TRUE
 
 $localizationMode = ''
 
 $fieldOrder = ''
 
 $doPrintPalette = TRUE
 
 $clipObj = NULL
 
 $enableClickMenu = FALSE
 
 $enableTabMenu = FALSE
 
 $renderReadonly = FALSE
 
 $form_rowsToStylewidth = 9.58
 
 $form_largeComp = 1.33
 
 $charsPerRow = 40
 
 $maxTextareaWidth = 48
 
 $maxInputWidth = 48
 
 $defaultMultipleSelectorStyle = 'width:310px;'
 
 $prependFormFieldNames = 'data'
 
 $prependCmdFieldNames = 'cmd'
 
 $prependFormFieldNames_file = 'data_files'
 
 $formName = 'editform'
 
 $allowOverrideMatrix = array()
 
 $perms_clause = ''
 
 $perms_clause_set = FALSE
 
 $edit_showFieldHelp = FALSE
 
 $edit_docModuleUpload = FALSE
 
 $clientInfo = array()
 
 $RTEenabled = FALSE
 
 $RTEenabled_notReasons = ''
 
 $RTEcounter = 0
 
 $colorScheme = array()
 
 $classScheme = array()
 
 $defColorScheme = array()
 
 $defClassScheme = array()
 
 $fieldStyle = NULL
 
 $borderStyle = NULL
 
 $commentMessages = array()
 
 $totalWrap = '<hr />|<hr />'
 
 $fieldTemplate = '<strong>###FIELD_NAME###</strong><br />###FIELD_ITEM###<hr />'
 
 $sectionWrap = ''
 
 $palFieldTemplateHeader = ''
 
 $palFieldTemplate = ''
 
 $palettesRendered = array()
 
 $hiddenFieldListArr = array()
 
 $requiredFields = array()
 
 $requiredAdditional = array()
 
 $requiredElements = array()
 
 $requiredNested = array()
 
 $renderDepth = 0
 
 $savedSchemes = array()
 
 $dynNestedStack = array()
 
 $additionalCode_pre = array()
 
 $additionalJS_pre = array()
 
 $additionalJS_post = array()
 
 $additionalJS_submit = array()
 
 $additionalJS_delete = array()
 
 $inline
 
 $hookObjectsMainFields = array()
 
 $hookObjectsSingleField = array()
 
 $extraFormHeaders = array()
 
 $templateFile = ''
 

Protected Member Functions

 renderNullValueWidget ($table, $field, array $row, array $PA)
 
 isDisabledNullValueField ($table, $field, array $row, array $PA)
 
 getIconHtml ($icon, $alt='', $title='')
 
 formWidthAsArray ($size=48, $textarea=FALSE)
 
 getPageRenderer ()
 
 isNewRecord ($table, $row)
 
 getMergeBehaviourIcon ($l10nMode)
 
 registerRequiredProperty ($type, $name, $value)
 
 registerNestedElement ($itemName, $setLevel=TRUE)
 
 getPlaceholderAttribute ($table, $field, array $config, array $row)
 
 getBackendUserAuthentication ()
 
 getControllerDocumentTemplate ()
 
 getDatabaseConnection ()
 
 getLanguageService ()
 
 getDocumentTemplate ()
 

Protected Attributes

 $cache_getTSCpid = array()
 
 $form_additionalTextareaStyleWidth = 23
 
 $prependFormFieldNamesActive = 'control[active]'
 
 $paletteFieldTemplate = ''
 
 $multiSelectFilterCount = 0
 
 $suggest
 

Detailed Description

'TCEforms' - Class for creating the backend editing forms.

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om René Fritz r.fri.nosp@m.tz@c.nosp@m.olorc.nosp@m.ube..nosp@m.de

Definition at line 43 of file FormEngine.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ addItems()

TYPO3\CMS\Backend\Form\FormEngine::addItems (   $items,
  $iArray 
)

Merges items into an item-array

Parameters
array$itemsThe existing item array
array$iArrayAn array of items to add. NOTICE: The keys are mapped to values, and the values and mapped to be labels. No possibility of adding an icon.
Returns
array The updated $item array
Todo:
Define visibility

Definition at line 5168 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSelectItems(), and TYPO3\CMS\Backend\Form\FlexFormsHelper\modifySingleFlexFormSheet().

◆ addSelectOptionsToItemArray()

TYPO3\CMS\Backend\Form\FormEngine::addSelectOptionsToItemArray (   $items,
  $fieldValue,
  $TSconfig,
  $field 
)

Add selector box items of more exotic kinds.

Parameters
array$itemsThe array of items (label,value,icon)
array$fieldValueThe "columns" array for the field (from TCA)
array$TSconfigTSconfig for the table/row
string$fieldThe fieldname
Returns
array The $items array modified.
Todo:
Define visibility

Definition at line 5238 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSelectItems(), and TYPO3\CMS\Backend\Form\FlexFormsHelper\modifySingleFlexFormSheet().

◆ addSelectOptionsToItemArray_makeModuleData()

TYPO3\CMS\Backend\Form\FormEngine::addSelectOptionsToItemArray_makeModuleData (   $value)

Creates value/label pair for a backend module (main and sub)

Parameters
string$valueThe module key
Returns
string The rawurlencoded 2-part string to transfer to interface private
See also
addSelectOptionsToItemArray()
Todo:
Define visibility

Definition at line 5455 of file FormEngine.php.

◆ addStyleSheet()

TYPO3\CMS\Backend\Form\FormEngine::addStyleSheet (   $key,
  $href,
  $title = '',
  $relation = 'stylesheet' 
)

Insert additional style sheet link

Parameters
string$keySome key identifying the style sheet
string$hrefUri to the style sheet file
string$titleValue for the title attribute of the link element
string$relationValue for the rel attribute of the link element
Returns
void

Definition at line 6757 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getControllerDocumentTemplate().

Referenced by TYPO3\CMS\Backend\Form\FrontendFormEngine\setFancyDesign().

◆ addUserTemplateMarkers()

TYPO3\CMS\Backend\Form\FormEngine::addUserTemplateMarkers (   $marker,
  $table,
  $field,
  $row,
$PA 
)

Overwrite this function in own extended class to add own markers for output

Parameters
array$markerArray with key/value pairs to insert in the template.
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
array Marker array for template output
See also
function intoTemplate()
Todo:
Define visibility

Definition at line 5588 of file FormEngine.php.

◆ checkBoxParams()

TYPO3\CMS\Backend\Form\FormEngine::checkBoxParams (   $itemName,
  $thisValue,
  $c,
  $iCount,
  $addFunc = '' 
)

Creates checkbox parameters

Parameters
string$itemNameForm element name
integer$thisValueThe value of the checkbox (representing checkboxes with the bits)
integer$cCheckbox # (0-9?)
integer$iCountTotal number of checkboxes in the array.
string$addFuncAdditional JavaScript for the onclick handler.
Returns
string The onclick attribute + possibly the checked-option set.
Todo:
Define visibility

Definition at line 4936 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeCheck().

◆ dbFileCon()

TYPO3\CMS\Backend\Form\FormEngine::dbFileCon (   $formObj = 'document.forms[0]')

Used to connect the db/file browser with this document and the formfields on it!

Parameters
string$formObjForm object reference (including "document.")
Returns
string JavaScript functions/code (NOT contained in a <script>-element)
Deprecated:
since TYPO3 6.2, remove two versions later. This is now done in an external file, see printNeededJSfunctions

Definition at line 6203 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getControllerDocumentTemplate(), TYPO3\CMS\Backend\Form\FormEngine\JSbottom(), and TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

Referenced by TYPO3\CMS\SysAction\ActionTask\JScode().

◆ dbFileIcons()

TYPO3\CMS\Backend\Form\FormEngine::dbFileIcons (   $fName,
  $mode,
  $allowed,
  $itemArray,
  $selector = '',
  $params = array(),
  $onFocus = '',
  $table = '',
  $field = '',
  $uid = '',
  $config = array() 
)

Prints the selector box form-field for the db/file/select elements (multiple)

Parameters
string$fNameForm element name
string$modeMode "db", "file" (internal_type for the "group" type) OR blank (then for the "select" type)
string$allowedCommalist of "allowed @param array $itemArray The array of items. For "select" and "group"/"file" this is just a set of value. For "db" its an array of arrays with table/uid pairs.
string$selectorAlternative selector box.
array$paramsAn array of additional parameters, eg: "size", "info", "headers" (array with "selector" and "items"), "noBrowser", "thumbnails
string$onFocusOn focus attribute string
string$table(optional) Table name processing for
string$field(optional) Field of table name processing for
string$uid(optional) uid of table record processing for
array$config(optional) The TCA field config
Returns
string The form fields for the selection.
Exceptions

Definition at line 4168 of file FormEngine.php.

References $GLOBALS, $icons, $uid, TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordWSOL(), TYPO3\CMS\Backend\Form\FormEngine\insertDefStyle(), TYPO3\CMS\Backend\Form\Element\InlineElement\Structure_Separator, and TYPO3\CMS\Backend\Form\FormEngine\wrapLabels().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_multiple(), and TYPO3\CMS\SysAction\ActionTask\viewNewBackendUser().

◆ doLoadTableDescr()

TYPO3\CMS\Backend\Form\FormEngine::doLoadTableDescr (   $table)

Returns TRUE if descriptions should be loaded always

Parameters
string$tableTable for which to check
Returns
boolean
Todo:
Define visibility

Definition at line 6445 of file FormEngine.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getListedFields(), and TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ elName()

TYPO3\CMS\Backend\Form\FormEngine::elName (   $itemName)

Returns element reference for form element name

Parameters
string$itemNameForm element name
Returns
string Form element reference (JS)
Todo:
Define visibility

Definition at line 4950 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_checkbox(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_singlebox(), and TYPO3\CMS\Backend\Form\FormEngine\renderWizards().

◆ extractValuesOnlyFromValueLabelList()

TYPO3\CMS\Backend\Form\FormEngine::extractValuesOnlyFromValueLabelList (   $itemFormElValue)

Extracting values from a value/label list (as made by transferData class)

Parameters
array$itemFormElValueValues in an array
Returns
array Input string exploded with comma and for each value only the label part is set in the array. Keys are numeric
Todo:
Define visibility

Definition at line 4879 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getRTypeNum(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_checkbox(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_singlebox().

◆ formatValue()

TYPO3\CMS\Backend\Form\FormEngine::formatValue (   $config,
  $itemValue 
)

Format field content of various types if $config['format'] is set to date, filesize, ..., user This is primarily for the field type none but can be used for user field types for example

Parameters
array$configConfiguration for the display
string$itemValueThe value to display
Returns
string Formatted Field content
Todo:
Define visibility

Definition at line 3551 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Utility\BackendUtility\calcAge(), TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction(), TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Core\Utility\GeneralUtility\formatSize(), TYPO3\CMS\Backend\Form\FormEngine\getLanguageService(), and TYPO3\CMS\Backend\Form\FormEngine\sL().

◆ formElClass()

TYPO3\CMS\Backend\Form\FormEngine::formElClass (   $type)

Get class attribute value for the current field type.

Parameters
string$typeField type (eg. "check", "radio", "select")
Returns
string CSS attributes
See also
formElStyleClassValue()
Todo:
Define visibility

Definition at line 5065 of file FormEngine.php.

◆ formElStyle()

TYPO3\CMS\Backend\Form\FormEngine::formElStyle (   $type)

Get style CSS values for the current field type.

Parameters
string$typeField type (eg. "check", "radio", "select")
Returns
string CSS attributes
See also
formElStyleClassValue()
Todo:
Define visibility

Definition at line 5053 of file FormEngine.php.

◆ formElStyleClassValue()

TYPO3\CMS\Backend\Form\FormEngine::formElStyleClassValue (   $type,
  $class = FALSE 
)

Get style CSS values for the current field type.

Parameters
string$typeField type (eg. "check", "radio", "select")
boolean$classIf set, will return value only if prefixed with CLASS, otherwise must not be prefixed "CLASS
Returns
string CSS attributes
Todo:
Define visibility

Definition at line 5077 of file FormEngine.php.

◆ formWidth()

TYPO3\CMS\Backend\Form\FormEngine::formWidth (   $size = 48,
  $textarea = FALSE 
)

Returns parameters to set the width for a <input>/<textarea>-element

Parameters
integer$sizeThe abstract size value (1-48)
boolean$textareaIf this is for a text area.
Returns
string Either a "style" attribute string or "cols"/"size" attribute string.
Todo:
Define visibility

Definition at line 4993 of file FormEngine.php.

◆ formWidthAsArray()

TYPO3\CMS\Backend\Form\FormEngine::formWidthAsArray (   $size = 48,
  $textarea = FALSE 
)
protected

Returns parameters to set the width for a <input>/<textarea>-element

Parameters
integer$sizeThe abstract size value (1-48)
boolean$textareaIf set, calculates sizes for a text area.
Returns
array An array containing style, class, and width attributes.

Definition at line 5010 of file FormEngine.php.

◆ formWidthText()

TYPO3\CMS\Backend\Form\FormEngine::formWidthText (   $size = 48,
  $wrap = '' 
)

Returns parameters to set with for a textarea field

Parameters
integer$sizeThe abstract width (1-48)
string$wrapEmpty or "off" (text wrapping in the field or not)
Returns
string The "cols" attribute string (or style from formWidth())
See also
formWidth()
Todo:
Define visibility

Definition at line 5035 of file FormEngine.php.

◆ getAdditionalPreviewLanguages()

TYPO3\CMS\Backend\Form\FormEngine::getAdditionalPreviewLanguages ( )

◆ getAvailableLanguages()

TYPO3\CMS\Backend\Form\FormEngine::getAvailableLanguages (   $onlyIsoCoded = TRUE,
  $setDefault = TRUE 
)

Returns an array of available languages (to use for FlexForms)

Parameters
boolean$onlyIsoCodedIf set, only languages which are paired with a static_info_table / static_language record will be returned.
boolean$setDefaultIf set, an array entry for a default language is set.
Returns
array
Todo:
Define visibility

Definition at line 6457 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Backend\Utility\BackendUtility\deleteClause(), TYPO3\CMS\Backend\Utility\BackendUtility\fixVersioningPid(), TYPO3\CMS\Backend\Form\FormEngine\getDatabaseConnection(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), TYPO3\CMS\Backend\Form\FormEngine\getTSCpid(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getBackendUserAuthentication()

◆ getClickMenu()

TYPO3\CMS\Backend\Form\FormEngine::getClickMenu (   $str,
  $table,
  $uid = 0 
)

Wraps the icon of a relation item (database record or file) in a link opening the context menu for the item. Icons will be wrapped only if $this->enableClickMenu is set. This must be done only if a global SOBE object exists and if the necessary JavaScript for displaying the context menus has been added to the page properties.

Parameters
string$strThe icon HTML to wrap
string$tableTable name (eg. "pages" or "tt_content") OR the absolute path to the file
integer$uidThe uid of the record OR if file, just blank value.
Returns
string|NULL HTML
Todo:
Define visibility

Definition at line 4454 of file FormEngine.php.

References $uid, and TYPO3\CMS\Backend\Form\FormEngine\getControllerDocumentTemplate().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\previewFieldValue().

◆ getClipboardElements()

TYPO3\CMS\Backend\Form\FormEngine::getClipboardElements (   $allowed,
  $mode 
)

Returns array of elements from clipboard to insert into GROUP element box.

Parameters
string$allowedAllowed elements, Eg "pages,tt_content", "gif,jpg,jpeg,png @param string $mode Mode of relations: "db" or "file
Returns
array Array of elements in values (keys are insignificant), if none found, empty array.
Todo:
Define visibility

Definition at line 4400 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getControllerDocumentTemplate()

◆ getDatabaseConnection()

TYPO3\CMS\Backend\Form\FormEngine::getDatabaseConnection ( )
protected
Returns
DatabaseConnection

Definition at line 6780 of file FormEngine.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getAvailableLanguages(), and TYPO3\CMS\Backend\Form\FormEngine\getDefaultRecord().

◆ getDefaultRecord()

TYPO3\CMS\Backend\Form\FormEngine::getDefaultRecord (   $table,
  $pid = 0 
)

Gets default record. Maybe not used anymore. FE-editor?

Parameters
string$tableDatabase Tablename
integer$pidPID value (positive / negative)
Returns
array|NULL "default" row.
Todo:
Define visibility

Definition at line 6275 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Utility\BackendUtility\deleteClause(), and TYPO3\CMS\Backend\Form\FormEngine\getDatabaseConnection().

◆ getDivider()

TYPO3\CMS\Backend\Form\FormEngine::getDivider ( )

Returns divider. Currently not implemented and returns only blank value.

Returns
string Empty string
Todo:
Define visibility

Definition at line 5775 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getListedFields(), and TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ getDocumentTemplate()

TYPO3\CMS\Backend\Form\FormEngine::getDocumentTemplate ( )
protected

◆ getDynNestedStack()

TYPO3\CMS\Backend\Form\FormEngine::getDynNestedStack (   $json = FALSE,
  $skipFirst = FALSE 
)

Get the dynNestedStack as associative array. The result is e.g. ['tab','DTM-ABCD-1'], ['inline','data[13][table][uid][field]'], ['tab','DTM-DEFG-2'], ...

Parameters
boolean$jsonReturn a JSON string instead of an array - default: FALSE
boolean$skipFirstSkip the first element in the dynNestedStack - default: FALSE
Returns
mixed Returns an associative array by default. If $json is TRUE, it will be returned as JSON string.
Todo:
Define visibility

Definition at line 6654 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\$dynNestedStack, and $result.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\registerNestedElement().

◆ getDynTabMenu()

TYPO3\CMS\Backend\Form\FormEngine::getDynTabMenu (   $parts,
  $idString,
  $dividersToTabsBehaviour = 1 
)

Create dynamic tab menu

Parameters
array$partsParts for the tab menu, fed to template::getDynTabMenu()
string$idStringID string for the tab menu
integer$dividersToTabsBehaviourIf set to '1' empty tabs will be removed, If set to '2' empty tabs will be disabled
Returns
string HTML for the menu
Todo:
Define visibility

Definition at line 5120 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeNone_render().

◆ getExcludeElements()

TYPO3\CMS\Backend\Form\FormEngine::getExcludeElements (   $table,
  $row,
  $typeNum 
)

Producing an array of field names NOT to display in the form, based on settings from subtype_value_field, bitmask_excludelist_bits etc. Notice, this list is in NO way related to the "excludeField" flag

Parameters
string$tableTable name, MUST be in $GLOBALS['TCA']
array$rowA record from table.
string$typeNumA "type" pointer value, probably the one calculated based on the record array.
Returns
array Array with fieldnames as values. The fieldnames are those which should NOT be displayed "anyways
See also
getMainFields()
Todo:
Define visibility

Definition at line 3742 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields(), TYPO3\CMS\Backend\Form\FormEngine\getSoloField(), and TYPO3\CMS\Backend\Form\FormEngine\loadPaletteElements().

◆ getFieldsToAdd()

TYPO3\CMS\Backend\Form\FormEngine::getFieldsToAdd (   $table,
  $row,
  $typeNum 
)

Finds possible field to add to the form, based on subtype fields.

Parameters
string$tableTable name, MUST be in $GLOBALS['TCA']
array$rowA record from table.
string$typeNumA "type" pointer value, probably the one calculated based on the record array.
Returns
array An array containing two values: 1) Another array containing field names to add and 2) the subtype value field.
See also
getMainFields()
Todo:
Define visibility

Definition at line 3782 of file FormEngine.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ getHiddenTokenField()

static TYPO3\CMS\Backend\Form\FormEngine::getHiddenTokenField (   $formName = 'securityToken',
  $tokenName = 'formToken' 
)
static

◆ getIcon()

TYPO3\CMS\Backend\Form\FormEngine::getIcon (   $icon)

Get icon (for example for selector boxes)

Parameters
string$iconIcon reference
Returns
array Array with two values; the icon file reference (relative to PATH_typo3 minus backPath), the icon file information array (getimagesize())
Todo:
Define visibility

Definition at line 4763 of file FormEngine.php.

◆ getIconHtml()

TYPO3\CMS\Backend\Form\FormEngine::getIconHtml (   $icon,
  $alt = '',
  $title = '' 
)
protected

Renders the $icon, supports a filename for skinImg or sprite-icon-name

Parameters
string$iconThe icon passed, could be a file-reference or a sprite Icon name
string$altAlt attribute of the icon returned
string$titleTitle attribute of the icon return
Returns
string A tag representing to show the asked icon

Definition at line 4806 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_checkbox(), and TYPO3\CMS\Backend\Form\FormEngine\renderWizards().

◆ getLanguageOverlayRawValue()

TYPO3\CMS\Backend\Form\FormEngine::getLanguageOverlayRawValue (   $table,
  $row,
  $field,
  $fieldConf 
)

Creates language-overlay for a field value This means the requested field value will be overridden with the data from the default language. Can be used to render read only fields for example.

Parameters
string$tableTable name of the record being edited
array$rowRecord array of the record being edited in current language
string$fieldField name represented by $item
array$fieldConfContent of $PA['fieldConf']
Returns
string Unprocessed field value merged with default language data if needed
Todo:
Define visibility

Definition at line 4032 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getRTypeNum().

◆ getLanguageService()

◆ getListedFields()

TYPO3\CMS\Backend\Form\FormEngine::getListedFields (   $table,
  $row,
  $list 
)

Will return the TCEform elements for a pre-defined list of fields. Notice that this will STILL use the configuration found in the list [types][showitem] for those fields which are found there. So ideally the list of fields given as argument to this function should also be in the current [types][showitem] list of the record. Used for displaying forms for the frontend edit icons for instance.

Parameters
string$tableThe table name
array$rowThe record array.
string$listCommalist of fields from the table. These will be shown in the specified order in a form.
Returns
string TCEform elements in a string.
Todo:
Define visibility

Definition at line 1070 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\doLoadTableDescr(), TYPO3\CMS\Backend\Form\FormEngine\getDivider(), TYPO3\CMS\Backend\Form\FormEngine\getLanguageService(), TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields(), TYPO3\CMS\Backend\Utility\BackendUtility\getTCAtypes(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getLL()

TYPO3\CMS\Backend\Form\FormEngine::getLL (   $str)

Returns language label from locallang_core.xlf Labels must be prefixed with either "l_" or "m_". The prefix "l_" maps to the prefix "labels." inside locallang_core.xlf The prefix "m_" maps to the prefix "mess." inside locallang_core.xlf

Parameters
string$strThe label key
Returns
string The value of the label, fetched for the current backend language.
Todo:
Define visibility

Definition at line 6368 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getLanguageService().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields(), TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_checkbox(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_multiple(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_singlebox(), TYPO3\CMS\Backend\Form\FormEngine\renderDefaultLanguageDiff(), and TYPO3\CMS\Backend\Form\FormEngine\renderVDEFDiff().

◆ getMainFields()

TYPO3\CMS\Backend\Form\FormEngine::getMainFields (   $table,
array  $row,
  $depth = 0,
array  $overruleTypesArray = array() 
)

Based on the $table and $row of content, this displays the complete TCEform for the record. The input-$row is required to be preprocessed if necessary by eg. the class. For instance the RTE content should be transformed through this class first.

Parameters
string$tableThe table name
array$rowThe record from the table for which to render a field.
integer$depthDepth level
array$overruleTypesArrayOverrule types array. Can be used to override the showitem etc. configuration for the TCA types of the table. Can contain all settings which are possible in the TCA 'types' section. See e.g. $TCA['tt_content']['types'].
Returns
string HTML output
See also
getSoloField()
Todo:
Define visibility

Definition at line 855 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\$palettesCollapsed, TYPO3\CMS\Backend\Form\FormEngine\$renderDepth, TYPO3\CMS\Backend\Form\FormEngine\doLoadTableDescr(), TYPO3\CMS\Backend\Form\FormEngine\getDivider(), TYPO3\CMS\Backend\Form\FormEngine\getDocumentTemplate(), TYPO3\CMS\Backend\Form\FormEngine\getDynTabMenu(), TYPO3\CMS\Backend\Form\FormEngine\getExcludeElements(), TYPO3\CMS\Backend\Form\FormEngine\getFieldsToAdd(), TYPO3\CMS\Backend\Form\FormEngine\getLanguageService(), TYPO3\CMS\Backend\Form\FormEngine\getLL(), TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields(), TYPO3\CMS\Backend\Form\FormEngine\getRTypeNum(), TYPO3\CMS\Backend\Form\FormEngine\mergeFieldsWithAddedFields(), TYPO3\CMS\Backend\Form\FormEngine\popFromDynNestedStack(), TYPO3\CMS\Backend\Form\FormEngine\pushToDynNestedStack(), TYPO3\CMS\Backend\Form\FormEngine\rearrange(), TYPO3\CMS\Backend\Form\FormEngine\resetSchemes(), TYPO3\CMS\Backend\Form\FormEngine\setColorScheme(), TYPO3\CMS\Backend\Form\FormEngine\sL(), TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode(), and TYPO3\CMS\Backend\Form\FormEngine\wrapBorder().

◆ getMergeBehaviourIcon()

TYPO3\CMS\Backend\Form\FormEngine::getMergeBehaviourIcon (   $l10nMode)
protected

Renders an icon to indicate the way the translation and the original is merged (if this is relevant).

If a field is defined as 'mergeIfNotBlank' this is useful information for an editor. He/she can leave the field blank and the original value will be used. Without this hint editors are likely to copy the contents even if it is not necessary.

Parameters
string$l10nModeLocalization mode from TCA
Returns
string

Definition at line 6533 of file FormEngine.php.

References TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), and TYPO3\CMS\Backend\Form\FormEngine\sL().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\renderDefaultLanguageContent().

◆ getPageRenderer()

TYPO3\CMS\Backend\Form\FormEngine::getPageRenderer ( )
protected

Wrapper for access to the current page renderer object

Returns

Definition at line 6258 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getControllerDocumentTemplate().

◆ getPaletteFields()

TYPO3\CMS\Backend\Form\FormEngine::getPaletteFields (   $table,
  $row,
  $palette,
  $header = '',
  $itemList = '',
  $collapsedHeader = NULL 
)

Creates a palette (collection of secondary options).

Parameters
string$tableThe table name
array$rowThe row array
string$paletteThe palette number/pointer
string$headerHeader string for the palette (used when in-form). If not set, no header item is made.
string$itemListOptional alternative list of fields for the palette
string$collapsedHeaderOptional Link text for activating a palette (when palettes does not have another form element to belong to).
Returns
string HTML code.
Todo:
Define visibility

Definition at line 1108 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\getBackendUserAuthentication(), TYPO3\CMS\Backend\Form\FormEngine\getLanguageService(), TYPO3\CMS\Backend\Form\FormEngine\getLL(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), TYPO3\CMS\Core\Utility\GeneralUtility\inList(), TYPO3\CMS\Backend\Form\FormEngine\intoTemplate(), TYPO3\CMS\Backend\Form\FormEngine\isPalettesCollapsed(), TYPO3\CMS\Backend\Form\FormEngine\loadPaletteElements(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Backend\Form\FormEngine\overrideFieldConf(), TYPO3\CMS\Backend\Form\FormEngine\printPalette(), TYPO3\CMS\Backend\Form\FormEngine\setTSconfig(), TYPO3\CMS\Backend\Form\FormEngine\sL(), TYPO3\CMS\Backend\Form\FormEngine\wrapOpenPalette(), and TYPO3\CMS\Backend\Form\FormEngine\wrapPaletteField().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getListedFields(), and TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ getPlaceholderAttribute()

TYPO3\CMS\Backend\Form\FormEngine::getPlaceholderAttribute (   $table,
  $field,
array  $config,
array  $row 
)
protected

Return the placeholder attribute for an input field.

Parameters
string$table
string$field
array$config
array$row
Returns
string

Definition at line 6715 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Backend\Form\FormEngine\sL(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getRecordPath()

TYPO3\CMS\Backend\Form\FormEngine::getRecordPath (   $table,
  $rec 
)

Return record path (visually formatted, using BackendUtility::getRecordPath() )

Parameters
string$tableTable name
array$recRecord array
Returns
string|NULL The record path.
See also
BackendUtility::getRecordPath()
Todo:
Define visibility

Definition at line 6323 of file FormEngine.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\fixVersioningPid(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordPath(), TYPO3\CMS\Backend\Form\FormEngine\getTSCpid(), and TYPO3\CMS\Backend\Form\FormEngine\readPerms().

◆ getRTypeNum()

TYPO3\CMS\Backend\Form\FormEngine::getRTypeNum (   $table,
  $row 
)

Calculate and return the current "types" pointer value for a record

Parameters
string$tableThe table name. MUST be in $GLOBALS['TCA']
array$rowThe row from the table, should contain at least the "type" field, if applicable.
Returns
string Return the "type" value for this record, ready to pick a "types" configuration from the $GLOBALS['TCA'] array.
Exceptions

Definition at line 3660 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\extractValuesOnlyFromValueLabelList(), TYPO3\CMS\Backend\Form\FormEngine\getLanguageOverlayRawValue(), and TYPO3\CMS\Core\Utility\GeneralUtility\revExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields(), TYPO3\CMS\Backend\Form\FormEngine\getSoloField(), and TYPO3\CMS\Backend\Form\FormEngine\loadPaletteElements().

◆ getSelectItems()

TYPO3\CMS\Backend\Form\FormEngine::getSelectItems (   $table,
  $fieldName,
array  $row,
array  $PA 
)

Collects the items for a select field by reading the configured select items from the configuration and / or by collecting them from a foreign table.

Parameters
string$tableThe table name of the record
string$fieldNameThe select field name
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
array

Definition at line 1957 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\addItems(), TYPO3\CMS\Backend\Form\FormEngine\addSelectOptionsToItemArray(), TYPO3\CMS\Backend\Form\FormEngine\getBackendUserAuthentication(), TYPO3\CMS\Backend\Form\FormEngine\initItemArray(), TYPO3\CMS\Core\Utility\GeneralUtility\inList(), TYPO3\CMS\Core\Utility\GeneralUtility\keepItemsInArray(), TYPO3\CMS\Backend\Form\FormEngine\setTSconfig(), TYPO3\CMS\Backend\Form\FormEngine\sL(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect().

◆ getSingleField_SW()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_SW (   $table,
  $field,
  $row,
$PA 
)

Rendering a single item for the form

Parameters
string$tableTable name of record
string$fieldFieldname to render
array$rowThe record
array$PAParameters array containing a lot of stuff. Value by Reference!
Returns
string Returns the item as HTML code to insert private
See also
getSingleField(), getSingleField_typeFlex_draw()
Todo:
Define visibility

Definition at line 1368 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu().

◆ getSingleField_typeCheck()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeCheck (   $table,
  $field,
  $row,
$PA 
)

Generation of TCEform elements of the type "check" This will render a check-box OR an array of checkboxes

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 1787 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\checkBoxParams(), TYPO3\CMS\Backend\Form\FormEngine\initItemArray(), TYPO3\CMS\Backend\Form\FormEngine\insertDefStyle(), and TYPO3\CMS\Backend\Form\FormEngine\wrapLabels().

◆ getSingleField_typeFlex_langMenu()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeFlex_langMenu (   $languages,
  $elName,
  $selectedLanguage,
  $multi = TRUE 
)

Creates the language menu for FlexForms:

Parameters
array$languages
string$elName
array$selectedLanguage
boolean$multi
Returns
string HTML for menu
Todo:
Define visibility

Definition at line 3147 of file FormEngine.php.

◆ getSingleField_typeFlex_sheetMenu()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeFlex_sheetMenu (   $sArr,
  $elName,
  $sheetKey 
)

◆ getSingleField_typeInput()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeInput (   $table,
  $field,
  $row,
$PA 
)

Generation of TCEform elements of the type "input" This will render a single-line input form field, possibly with various control/validation features

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 1430 of file FormEngine.php.

References TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon().

◆ getSingleField_typeNone()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeNone (   $table,
  $field,
  $row,
$PA 
)

Generation of TCEform elements of the type "none" This will render a non-editable display of the content of the field.

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 2897 of file FormEngine.php.

◆ getSingleField_typeNone_render()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeNone_render (   $config,
  $itemValue 
)

HTML rendering of a value which is not editable.

Parameters
array$configConfiguration for the display
string$itemValueThe value to display
Returns
string The HTML code for the display
See also
getSingleField_typeNone();
Todo:
Define visibility

Definition at line 2913 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\getDocumentTemplate(), TYPO3\CMS\Backend\Form\FormEngine\getDynTabMenu(), TYPO3\CMS\Backend\Form\FormEngine\popFromDynNestedStack(), TYPO3\CMS\Backend\Form\FormEngine\pushToDynNestedStack(), TYPO3\CMS\Backend\Form\FormEngine\sL(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getSingleField_typeRadio()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeRadio (   $table,
  $field,
  $row,
$PA 
)

Generation of TCEform elements of the type "radio" This will render a series of radio buttons.

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 1861 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\initItemArray(), and TYPO3\CMS\Backend\Form\FormEngine\insertDefStyle().

◆ getSingleField_typeSelect()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeSelect (   $table,
  $field,
  $row,
$PA 
)

Generation of TCEform elements of the type "select" This will render a selector box element, or possibly a special construction with two selector boxes. That depends on configuration.

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 1901 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Backend\Form\FormEngine\getLL(), TYPO3\CMS\Backend\Form\FormEngine\getSelectItems(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_checkbox(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_multiple(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_single(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_singlebox(), TYPO3\CMS\Backend\Form\FormEngine\getSpecConfFromString(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Backend\Form\FormEngine\registerRequiredProperty(), TYPO3\CMS\Backend\Form\FormEngine\renderWizards(), and TYPO3\CMS\Backend\Form\FormEngine\sL().

◆ getSingleField_typeSelect_checkbox()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeSelect_checkbox (   $table,
  $field,
  $row,
$PA,
  $config,
  $selItems,
  $nMV_label 
)

Creates a checkbox list (renderMode = "checkbox") (Render function for getSingleField_typeSelect())

Parameters
string$tableSee getSingleField_typeSelect()
string$fieldSee getSingleField_typeSelect()
array$rowSee getSingleField_typeSelect()
array$PASee getSingleField_typeSelect()
array$config(Redundant) content of $PA['fieldConf']['config'] (for convenience)
array$selItemsItems available for selection
string$nMV_labelLabel for no-matching-value
Returns
string The HTML code for the item
See also
getSingleField_typeSelect()
Todo:
Define visibility

Definition at line 2225 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\elName(), TYPO3\CMS\Backend\Form\FormEngine\extractValuesOnlyFromValueLabelList(), TYPO3\CMS\Backend\Form\FormEngine\getIconHtml(), TYPO3\CMS\Backend\Form\FormEngine\getLL(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), TYPO3\CMS\Backend\Form\FormEngine\insertDefStyle(), and TYPO3\CMS\Backend\Utility\BackendUtility\wrapInHelp().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect().

◆ getSingleField_typeSelect_multiple()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeSelect_multiple (   $table,
  $field,
  $row,
$PA,
  $config,
  $selItems,
  $nMV_label 
)

◆ getSingleField_typeSelect_single()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeSelect_single (   $table,
  $field,
  $row,
$PA,
  $config,
  $selItems,
  $nMV_label 
)

Creates a single-selector box (Render function for getSingleField_typeSelect())

Parameters
string$tableSee getSingleField_typeSelect()
string$fieldSee getSingleField_typeSelect()
array$rowSee getSingleField_typeSelect()
array$PASee getSingleField_typeSelect()
array$config(Redundant) content of $PA['fieldConf']['config'] (for convenience)
array$selItemsItems available for selection
string$nMV_labelLabel for no-matching-value
Returns
string The HTML code for the item
See also
getSingleField_typeSelect()
Todo:
Define visibility

Definition at line 2041 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\insertDefStyle(), and TYPO3\CMS\Backend\Form\Element\InlineElement\Structure_Separator.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect().

◆ getSingleField_typeSelect_singlebox()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeSelect_singlebox (   $table,
  $field,
  $row,
$PA,
  $config,
  $selItems,
  $nMV_label 
)

Creates a selectorbox list (renderMode = "singlebox") (Render function for getSingleField_typeSelect())

Parameters
string$tableSee getSingleField_typeSelect()
string$fieldSee getSingleField_typeSelect()
array$rowSee getSingleField_typeSelect()
array$PASee getSingleField_typeSelect()
array$config(Redundant) content of $PA['fieldConf']['config'] (for convenience)
array$selItemsItems available for selection
string$nMV_labelLabel for no-matching-value
Returns
string The HTML code for the item
See also
getSingleField_typeSelect()
Todo:
Define visibility

Definition at line 2371 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\elName(), TYPO3\CMS\Backend\Form\FormEngine\extractValuesOnlyFromValueLabelList(), TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Backend\Form\FormEngine\getLL(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), TYPO3\CMS\Backend\Form\FormEngine\insertDefStyle(), and TYPO3\CMS\Backend\Form\FormEngine\optionTagStyle().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect().

◆ getSingleField_typeText()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeText (   $table,
  $field,
  $row,
$PA 
)

Generation of TCEform elements of the type "text" This will render a <textarea> OR RTE area form field, possibly with various control/validation features

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 1640 of file FormEngine.php.

◆ getSingleField_typeUnknown()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeUnknown (   $table,
  $field,
  $row,
$PA 
)

Handler for unknown types.

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 3513 of file FormEngine.php.

◆ getSingleField_typeUser()

TYPO3\CMS\Backend\Form\FormEngine::getSingleField_typeUser (   $table,
  $field,
  $row,
$PA 
)

User defined field type

Parameters
string$tableThe table name of the record
string$fieldThe field name which this element is supposed to edit
array$rowThe record data array where the value(s) for the field can be found
array$PAAn array with additional configuration options.
Returns
string The HTML code for the TCEform field
Todo:
Define visibility

Definition at line 3528 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction().

◆ getSingleHiddenField()

TYPO3\CMS\Backend\Form\FormEngine::getSingleHiddenField (   $table,
  $field,
  $row 
)

Returns the form field for a single HIDDEN field. (Not used anywhere...?)

Parameters
string$tableTable name
string$fieldField name
array$rowThe row
Returns
string The hidden-field <input> tag.
Todo:
Define visibility

Definition at line 4974 of file FormEngine.php.

◆ getSoloField()

TYPO3\CMS\Backend\Form\FormEngine::getSoloField (   $table,
  $row,
  $theFieldToReturn 
)

Will return the TCEform element for just a single field from a record. The field must be listed in the currently displayed fields (as found in [types][showitem]) for the record. This also means that the $table/$row supplied must be complete so the list of fields to show can be found correctly

Parameters
string$tableThe table name
array$rowThe record from the table for which to render a field.
string$theFieldToReturnThe field name to return the TCEform element for.
Returns
string|NULL HTML output
See also
getMainFields()
Todo:
Define visibility

Definition at line 816 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\getExcludeElements(), TYPO3\CMS\Backend\Form\FormEngine\getRTypeNum(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getSpecConfForField()

TYPO3\CMS\Backend\Form\FormEngine::getSpecConfForField (   $table,
  $row,
  $field 
)

Returns the "special" configuration (from the "types" "showitem" list) for a fieldname based on input table/record (Not used anywhere...?)

Parameters
string$tableThe table name
array$rowThe table row (Should at least contain the "uid" value, even if "NEW..." string. The "pid" field is important as well, and negative values will be intepreted as pointing to a record from the same table.)
string$fieldSpecify the field name.
Returns
array|NULL
See also
getSpecConfFromString(), BackendUtility::getTCAtypes()
Todo:
Define visibility

Definition at line 3908 of file FormEngine.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getTCAtypes().

◆ getSpecConfFromString()

TYPO3\CMS\Backend\Form\FormEngine::getSpecConfFromString (   $extraString,
  $defaultExtras 
)

Returns the "special" configuration of an "extra" string (non-parsed)

Parameters
string$extraStringThe "Part 4" of the fields configuration in "types" "showitem" lists.
string$defaultExtrasThe ['defaultExtras'] value from field configuration
Returns
array An array with the special options in.
See also
getSpecConfForField(), BackendUtility::getSpecConfParts()
Todo:
Define visibility

Definition at line 3932 of file FormEngine.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getSpecConfParts().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_multiple().

◆ getTSCpid()

TYPO3\CMS\Backend\Form\FormEngine::getTSCpid (   $table,
  $uid,
  $pid 
)

Return TSCpid (cached) Using BackendUtility::getTSCpid()

Parameters
string$tableTablename
string$uidUID value
string$pidPID value
Returns
array Array of two integers; first is the real PID of a record, second is the PID value for TSconfig.
See also
BackendUtility::getTSCpid()
Todo:
Define visibility

Definition at line 6430 of file FormEngine.php.

References $uid, and TYPO3\CMS\Backend\Utility\BackendUtility\getTSCpid().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getAvailableLanguages(), and TYPO3\CMS\Backend\Form\FormEngine\getRecordPath().

◆ initDefaultBEmode()

TYPO3\CMS\Backend\Form\FormEngine::initDefaultBEmode ( )

Initialize various internal variables.

Returns
void
Todo:
Define visibility

Definition at line 789 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getBackendUserAuthentication(), and TYPO3\CMS\Backend\Form\FormEngine\setNewBEDesign().

◆ initItemArray()

TYPO3\CMS\Backend\Form\FormEngine::initItemArray (   $fieldValue)

Initialize item array (for checkbox, selectorbox, radio buttons) Will resolve the label value.

Parameters
array$fieldValueThe "columns" array for the field (from TCA)
Returns
array An array of arrays with three elements; label, value, icon
Todo:
Define visibility

Definition at line 5150 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSelectItems(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeCheck(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeRadio(), and TYPO3\CMS\Backend\Form\FlexFormsHelper\modifySingleFlexFormSheet().

◆ insertDefStyle()

TYPO3\CMS\Backend\Form\FormEngine::insertDefStyle (   $type,
  $additionalClass = '' 
)

◆ intoTemplate()

TYPO3\CMS\Backend\Form\FormEngine::intoTemplate (   $inArr,
  $altTemplate = '' 
)

This inserts the content of $inArr into the field-template

Parameters
array$inArrArray with key/value pairs to insert in the template.
string$altTemplateAlternative template to use instead of the default.
Returns
string
Todo:
Define visibility

Definition at line 5564 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ isDisabledNullValueField()

TYPO3\CMS\Backend\Form\FormEngine::isDisabledNullValueField (   $table,
  $field,
array  $row,
array  $PA 
)
protected

Determines whether the current field value is considered as NULL value. Using NULL values is enabled by using 'null' in the 'eval' TCA definition.

Parameters
string$tableName of the table
string$fieldName of the field
array$rowAccordant data
array$PAParameters array with rendering instructions
Returns
boolean

Definition at line 1615 of file FormEngine.php.

◆ isNewRecord()

TYPO3\CMS\Backend\Form\FormEngine::isNewRecord (   $table,
  $row 
)
protected

Returns TRUE if the given $row is new (i.e. has not been saved to the database)

Parameters
string$table
array$row
Returns
bool

Definition at line 6310 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), and TYPO3\CMS\Core\Utility\GeneralUtility\isFirstPartOfStr().

◆ isPalettesCollapsed()

TYPO3\CMS\Backend\Form\FormEngine::isPalettesCollapsed (   $table,
  $palette 
)

Returns TRUE, if the palette, $palette, is collapsed (not shown, but found in top-frame) for the table.

Parameters
string$tableThe table name
integer$paletteThe palette pointer/number
Returns
boolean
Todo:
Define visibility

Definition at line 6389 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\$palettesCollapsed, TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ JSbottom()

TYPO3\CMS\Backend\Form\FormEngine::JSbottom (   $formname = 'forms[0]',
  $update = FALSE 
)

JavaScript code used for input-field evaluation.

Example use:

$msg .= 'Distribution time (hh:mm dd-mm-yy):
<input type="text" name="send_mail_datetime_hr"' . ' onchange="typo3form.fieldGet(\'send_mail_datetime\', \'datetime\', \'\', 0,0);"' . $this->getTBE()->formWidth(20) . ' /><input type="hidden" value="' . $GLOBALS['EXEC_TIME'] . '" name="send_mail_datetime">
'; $this->extJSCODE .= 'typo3form.fieldSet("send_mail_datetime", "datetime", "", 0,0);';

... and then include the result of this function after the form

Parameters
string$formnameThe identification of the form on the page.
boolean$updateJust extend/update existing settings, e.g. for AJAX call
Returns
string A section with JavaScript - if $update is FALSE, embedded in <script></script>
Todo:
Define visibility

Definition at line 5979 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\dbFileCon().

◆ JStop()

TYPO3\CMS\Backend\Form\FormEngine::JStop ( )

JavaScript code added BEFORE the form is drawn:

Returns
string A <script></script> section with JavaScript.
Todo:
Define visibility

Definition at line 5927 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\printNeededJSFunctions_top().

◆ loadJavascriptLib()

TYPO3\CMS\Backend\Form\FormEngine::loadJavascriptLib (   $lib)

Includes a javascript library that exists in the core /typo3/ directory. The backpath is automatically applied. This method acts as wrapper for $GLOBALS['SOBE']->doc->loadJavascriptLib($lib).

Parameters
string$libLibrary name. Call it with the full path like "contrib/prototype/prototype.js" to load it
Returns
void

Definition at line 6249 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getControllerDocumentTemplate().

Referenced by TYPO3\CMS\Backend\Form\FrontendFormEngine\setFancyDesign().

◆ loadPaletteElements()

TYPO3\CMS\Backend\Form\FormEngine::loadPaletteElements (   $table,
  $row,
  $palette,
  $itemList = '' 
)

Loads the elements of a palette (collection of secondary options) in an array.

Parameters
string$tableThe table name
array$rowThe row array
string$paletteThe palette number/pointer
string$itemListOptional alternative list of fields for the palette
Returns
array The palette elements

Definition at line 3945 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\getAdditionalPreviewLanguages(), TYPO3\CMS\Backend\Form\FormEngine\getExcludeElements(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordWSOL(), TYPO3\CMS\Backend\Form\FormEngine\getRTypeNum(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ mergeFieldsWithAddedFields()

TYPO3\CMS\Backend\Form\FormEngine::mergeFieldsWithAddedFields (   $fields,
  $fieldsToAdd,
  $table = '' 
)

Merges the current [types][showitem] array with the array of fields to add for the current subtype field of the "type" value.

Parameters
array$fieldsA [types][showitem] list of fields, exploded by ",
array$fieldsToAddThe output from getFieldsToAdd()
string$tableThe table name, if we want to consider it's palettes when positioning the new elements
Returns
array Return the modified $fields array.
See also
getMainFields(),getFieldsToAdd()
Todo:
Define visibility

Definition at line 3807 of file FormEngine.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ optgroupTagStyle()

TYPO3\CMS\Backend\Form\FormEngine::optgroupTagStyle (   $iconString)

Creates style attribute content for optgroup tags in a selector box, primarily setting it up to show the icon of an element as background image (works in mozilla).

Parameters
string$iconStringIcon string for option item
Returns
string|NULL Style attribute content, if any
Todo:
Define visibility

Definition at line 4853 of file FormEngine.php.

◆ optionTagStyle()

TYPO3\CMS\Backend\Form\FormEngine::optionTagStyle (   $iconString)

Creates style attribute content for option tags in a selector box, primarily setting it up to show the icon of an element as background image (works in mozilla)

Parameters
string$iconStringIcon string for option item
Returns
string|NULL Style attribute content, if any
Todo:
Define visibility

Definition at line 4823 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_multiple(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_singlebox().

◆ overrideFieldConf()

TYPO3\CMS\Backend\Form\FormEngine::overrideFieldConf (   $fieldConfig,
  $TSconfig 
)

Overrides the TCA field configuration by TSconfig settings.

Example TSconfig: TCEform.

<field>.config.appearance.useSortable = 1 This overrides the setting in $GLOBALS['TCA'][

['columns'][<field>]['config']['appearance']['useSortable'].

Parameters
array$fieldConfig$GLOBALS['TCA'] field configuration
array$TSconfigTSconfig
Returns
array Changed TCA field configuration
Todo:
Define visibility

Definition at line 3877 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule(), and TYPO3\CMS\Core\Utility\GeneralUtility\removeDotsFromTS().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ popFromDynNestedStack()

TYPO3\CMS\Backend\Form\FormEngine::popFromDynNestedStack (   $type = NULL,
  $ident = NULL 
)

Remove an element from the dynNestedStack. If $type and $ident are set, the last element will only be removed, if it matches what is expected to be removed.

Parameters
string$typeType of the level, e.g. "tab" or "inline
string$identIdentifier of the level
Returns
void
Todo:
Define visibility

Definition at line 6634 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeNone_render().

◆ previewFieldValue()

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

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
Todo:
Define visibility

Definition at line 6550 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\formatSize(), TYPO3\CMS\Backend\Form\FormEngine\getClickMenu(), TYPO3\CMS\Core\Utility\GeneralUtility\getFileAbsFileName(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForFile(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu(), and TYPO3\CMS\Backend\Form\FormEngine\renderDefaultLanguageContent().

◆ printNeededJSFunctions_top()

TYPO3\CMS\Backend\Form\FormEngine::printNeededJSFunctions_top ( )

Returns necessary JavaScript for the top

Returns
string
Todo:
Define visibility

Definition at line 6237 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\JStop().

◆ printPalette()

TYPO3\CMS\Backend\Form\FormEngine::printPalette (   $palArr)

Creates HTML output for a palette

Parameters
array$palArrThe palette array to print
Returns
string HTML output
Todo:
Define visibility

Definition at line 5786 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ pushToDynNestedStack()

TYPO3\CMS\Backend\Form\FormEngine::pushToDynNestedStack (   $type,
  $ident 
)

Push a new element to the dynNestedStack. Thus, every object know, if it's nested in a tab or IRRE level and in which order this was processed.

Parameters
string$typeType of the level, e.g. "tab" or "inline
string$identIdentifier of the level
Returns
void
Todo:
Define visibility

Definition at line 6620 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeNone_render().

◆ readPerms()

TYPO3\CMS\Backend\Form\FormEngine::readPerms ( )

Returns the select-page read-access SQL clause. Returns cached string, so you can call this function as much as you like without performance loss.

Returns
string
Todo:
Define visibility

Definition at line 6339 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\$perms_clause, and TYPO3\CMS\Backend\Form\FormEngine\getBackendUserAuthentication().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getRecordPath().

◆ rearrange()

TYPO3\CMS\Backend\Form\FormEngine::rearrange (   $fields)

Used to adhoc-rearrange the field order normally set in the [types][showitem] list

Parameters
array$fieldsA [types][showitem] list of fields, exploded by ",
Returns
array Returns rearranged version (keys are changed around as well.)
See also
getMainFields()
Todo:
Define visibility

Definition at line 3714 of file FormEngine.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ registerNestedElement()

TYPO3\CMS\Backend\Form\FormEngine::registerNestedElement (   $itemName,
  $setLevel = TRUE 
)
protected

Sets the current situation of nested tabs and inline levels for a given element.

Parameters
string$itemNameThe element the nesting should be stored for
boolean$setLevelSet the reverse level lookup - default: TRUE
Returns
void

Definition at line 6695 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\$dynNestedStack, and TYPO3\CMS\Backend\Form\FormEngine\getDynNestedStack().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\registerRequiredProperty().

◆ registerRequiredProperty()

TYPO3\CMS\Backend\Form\FormEngine::registerRequiredProperty (   $type,
  $name,
  $value 
)
protected

Takes care of registering properties in requiredFields and requiredElements. The current hierarchy of IRRE and/or Tabs is stored. Thus, it is possible to determine, which required field/element was filled incorrectly and show it, even if the Tab or IRRE level is hidden.

Parameters
string$typeType of requirement ('field' or 'range')
string$nameThe name of the form field
mixed$valueFor type 'field' string, for type 'range' array
Returns
void

Definition at line 6673 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\registerNestedElement().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_multiple().

◆ renderDefaultLanguageContent()

TYPO3\CMS\Backend\Form\FormEngine::renderDefaultLanguageContent (   $table,
  $field,
  $row,
  $item 
)

Renders the display of default language record content around current field. Will render content if any is found in the internal array, $this->defaultLanguageData, depending on registerDefaultLanguageData() being called prior to this.

Parameters
string$tableTable name of the record being edited
string$fieldField name represented by $item
array$rowRecord array of the record being edited
string$itemHTML of the form field. This is what we add the content to.
Returns
string Item string returned again, possibly with the original value added to.
See also
getSingleField(), registerDefaultLanguageData()
Todo:
Define visibility

Definition at line 4058 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\getAdditionalPreviewLanguages(), TYPO3\CMS\Backend\Form\FormEngine\getMergeBehaviourIcon(), and TYPO3\CMS\Backend\Form\FormEngine\previewFieldValue().

◆ renderDefaultLanguageDiff()

TYPO3\CMS\Backend\Form\FormEngine::renderDefaultLanguageDiff (   $table,
  $field,
  $row,
  $item 
)

Renders the diff-view of default language record content compared with what the record was originally translated from. Will render content if any is found in the internal array, $this->defaultLanguageData, depending on registerDefaultLanguageData() being called prior to this.

Parameters
string$tableTable name of the record being edited
string$fieldField name represented by $item
array$rowRecord array of the record being edited
string$itemHTML of the form field. This is what we add the content to.
Returns
string Item string returned again, possibly with the original value added to.
See also
getSingleField(), registerDefaultLanguageData()
Todo:
Define visibility

Definition at line 4097 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\getLL(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ renderNullValueWidget()

TYPO3\CMS\Backend\Form\FormEngine::renderNullValueWidget (   $table,
  $field,
array  $row,
array  $PA 
)
protected

Renders a view widget to handle and activate NULL values. The widget is enabled by using 'null' in the 'eval' TCA definition.

Parameters
string$tableName of the table
string$fieldName of the field
array$rowAccordant data of the record row
array$PAParameters array with rendering instructions
Returns
string Widget (if any).

Definition at line 1583 of file FormEngine.php.

◆ renderVDEFDiff()

TYPO3\CMS\Backend\Form\FormEngine::renderVDEFDiff (   $vArray,
  $vDEFkey 
)

Renders the diff-view of vDEF fields in flexforms

Parameters
array$vArrayRecord array of the record being edited
string$vDEFkeyHTML of the form field. This is what we add the content to.
Returns
string Item string returned again, possibly with the original value added to.
See also
getSingleField(), registerDefaultLanguageData()
Todo:
Define visibility

Definition at line 4130 of file FormEngine.php.

References $GLOBALS, TYPO3\CMS\Backend\Form\FormEngine\getLL(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu().

◆ renderWizards()

TYPO3\CMS\Backend\Form\FormEngine::renderWizards (   $itemKinds,
  $wizConf,
  $table,
  $row,
  $field,
$PA,
  $itemName,
  $specConf,
  $RTE = FALSE 
)

Rendering wizards for form fields.

Parameters
array$itemKindsArray with the real item in the first value, and an alternative item in the second value.
array$wizConfThe "wizard" key from the config array for the field (from TCA)
string$tableTable name
array$rowThe record array
string$fieldThe field name
array$PAAdditional configuration array. (passed by reference!)
string$itemNameThe field name
array$specConfSpecial configuration if available.
boolean$RTEWhether the RTE could have been loaded.
Returns
string The new item value.
Todo:
Define visibility

Definition at line 4477 of file FormEngine.php.

References TYPO3\CMS\Backend\Form\FormEngine\$backPath, TYPO3\CMS\Backend\Form\FormEngine\$formName, $moduleName, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Utility\GeneralUtility\deprecationLog(), TYPO3\CMS\Backend\Form\FormEngine\elName(), TYPO3\CMS\Core\Utility\GeneralUtility\getFileAbsFileName(), TYPO3\CMS\Backend\Form\FormEngine\getIconHtml(), TYPO3\CMS\Backend\Utility\BackendUtility\getModuleUrl(), TYPO3\CMS\Core\Utility\GeneralUtility\hmac(), TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl(), TYPO3\CMS\Core\Utility\GeneralUtility\isFirstPartOfStr(), TYPO3\CMS\Backend\Form\FormEngine\sL(), TYPO3\CMS\Core\Utility\PathUtility\stripPathSitePrefix(), and TYPO3\CMS\Backend\Form\FormEngine\thisReturnUrl().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect().

◆ replaceTableWrap()

TYPO3\CMS\Backend\Form\FormEngine::replaceTableWrap (   $arr,
  $rec,
  $table 
)

This replaces markers in the total wrap

Parameters
array$arrAn array of template parts containing some markers.
array$recThe record
string$tableThe table name
Returns
string
Todo:
Define visibility

Definition at line 5640 of file FormEngine.php.

◆ resetSchemes()

TYPO3\CMS\Backend\Form\FormEngine::resetSchemes ( )

Reset color schemes.

Returns
void
Todo:
Define visibility

Definition at line 5884 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\__construct(), and TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ restoreSchemes()

TYPO3\CMS\Backend\Form\FormEngine::restoreSchemes ( )

Restore the saved color scheme

Returns
void
Todo:
Define visibility

Definition at line 5909 of file FormEngine.php.

◆ rplColorScheme()

TYPO3\CMS\Backend\Form\FormEngine::rplColorScheme (   $inTemplate)

Replaces colorscheme markers in the template string

Parameters
string$inTemplateTemplate string with markers to be substituted.
Returns
string
Todo:
Define visibility

Definition at line 5742 of file FormEngine.php.

◆ setColorScheme()

TYPO3\CMS\Backend\Form\FormEngine::setColorScheme (   $scheme)

Setting the current color scheme ($this->colorScheme) based on $this->defColorScheme plus input string.

Parameters
string$schemeA color scheme string.
Returns
void
Todo:
Define visibility

Definition at line 5854 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ setNewBEDesign()

TYPO3\CMS\Backend\Form\FormEngine::setNewBEDesign ( )

Sets the design to the backend design. Backend

Returns
void
Todo:
Define visibility

Definition at line 5544 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\initDefaultBEmode().

◆ setTSconfig()

TYPO3\CMS\Backend\Form\FormEngine::setTSconfig (   $table,
  $row,
  $field = '' 
)

Returns TSconfig for table/row Multiple requests to this function will return cached content so there is no performance loss in calling this many times since the information is looked up only once.

Parameters
string$tableThe table name
array$rowThe table row (Should at least contain the "uid" value, even if "NEW..." string. The "pid" field is important as well, and negative values will be intepreted as pointing to a record from the same table.)
string$fieldOptionally you can specify the field name as well. In that case the TSconfig for the field is returned.
Returns
mixed The TSconfig values (probably in an array)
See also
BackendUtility::getTCEFORM_TSconfig()
Todo:
Define visibility

Definition at line 3854 of file FormEngine.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getTCEFORM_TSconfig().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields(), TYPO3\CMS\Backend\Form\FormEngine\getSelectItems(), TYPO3\CMS\Backend\Form\FlexFormsHelper\modifyFlexFormDS(), and TYPO3\CMS\Backend\Form\FlexFormsHelper\modifySingleFlexFormSheet().

◆ sL()

◆ storeSchemes()

TYPO3\CMS\Backend\Form\FormEngine::storeSchemes ( )

Store current color scheme

Returns
void
Todo:
Define visibility

Definition at line 5896 of file FormEngine.php.

◆ thisReturnUrl()

TYPO3\CMS\Backend\Form\FormEngine::thisReturnUrl ( )

Returns the "returnUrl" of the form. Can be set externally or will be taken from "GeneralUtility::linkThisScript()"

Returns
string Return URL of current script
Todo:
Define visibility

Definition at line 4960 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\renderWizards().

◆ wrapBorder()

TYPO3\CMS\Backend\Form\FormEngine::wrapBorder ( $out_array,
$out_pointer 
)

Wraps an element in the $out_array with the template row for a "section" ($this->sectionWrap)

Parameters
array$out_arrayThe array with form elements stored in (passed by reference and changed!)
integer$out_pointerThe pointer to the entry in the $out_array (passed by reference and incremented!)
Returns
void
Todo:
Define visibility

Definition at line 5721 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ wrapLabels()

TYPO3\CMS\Backend\Form\FormEngine::wrapLabels (   $str)

Wrapping labels Currently not implemented - just returns input value.

Parameters
string$strInput string.
Returns
string Output string.
Todo:
Define visibility

Definition at line 5600 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\dbFileIcons(), and TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeCheck().

◆ wrapOpenPalette()

TYPO3\CMS\Backend\Form\FormEngine::wrapOpenPalette (   $header,
  $table,
  $row,
  $palette,
  $retFunc 
)

Wraps a string with a link to the palette.

Parameters
string$headerThe string to wrap in an A-tag
string$tableThe table name for which to open the palette.
array$rowThe palette pointer.
integer$paletteThe record array
mixed$retFuncNot used
Returns
array
Todo:
Define visibility

Definition at line 4901 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ wrapPaletteField()

TYPO3\CMS\Backend\Form\FormEngine::wrapPaletteField (   $code,
  $table,
  $row,
  $palette,
  $collapsed 
)

Add the id and the style property to the field palette

Parameters
string$codePalette Code
string$tableThe table name for which to open the palette.
string$rowPalette ID
string$paletteThe record array
boolean$collapsedTRUE if collapsed
Returns
boolean Is collapsed
Todo:
Define visibility

Definition at line 4918 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getPaletteFields().

◆ wrapTotal()

TYPO3\CMS\Backend\Form\FormEngine::wrapTotal (   $c,
  $rec,
  $table 
)

Wraps all the table rows into a single table. Used externally from scripts like alt_doc.php and db_layout.php (which uses TCEforms...)

Parameters
string$cCode to output between table-parts; table rows
array$recThe record
string$tableThe table name
Returns
string
Todo:
Define visibility

Definition at line 5614 of file FormEngine.php.

Member Data Documentation

◆ $additionalCode_pre

TYPO3\CMS\Backend\Form\FormEngine::$additionalCode_pre = array()

Definition at line 636 of file FormEngine.php.

◆ $additionalJS_delete

TYPO3\CMS\Backend\Form\FormEngine::$additionalJS_delete = array()

Definition at line 670 of file FormEngine.php.

◆ $additionalJS_post

TYPO3\CMS\Backend\Form\FormEngine::$additionalJS_post = array()

◆ $additionalJS_pre

TYPO3\CMS\Backend\Form\FormEngine::$additionalJS_pre = array()

Definition at line 644 of file FormEngine.php.

◆ $additionalJS_submit

TYPO3\CMS\Backend\Form\FormEngine::$additionalJS_submit = array()

◆ $additionalPreviewLanguageData

TYPO3\CMS\Backend\Form\FormEngine::$additionalPreviewLanguageData = array()

Definition at line 163 of file FormEngine.php.

◆ $allowOverrideMatrix

TYPO3\CMS\Backend\Form\FormEngine::$allowOverrideMatrix = array()

Definition at line 379 of file FormEngine.php.

◆ $backPath

TYPO3\CMS\Backend\Form\FormEngine::$backPath = ''

Definition at line 173 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\renderWizards().

◆ $borderStyle

TYPO3\CMS\Backend\Form\FormEngine::$borderStyle = NULL

Definition at line 491 of file FormEngine.php.

◆ $cache_getTSCpid

TYPO3\CMS\Backend\Form\FormEngine::$cache_getTSCpid = array()
protected

Definition at line 105 of file FormEngine.php.

◆ $cachedAdditionalPreviewLanguages

TYPO3\CMS\Backend\Form\FormEngine::$cachedAdditionalPreviewLanguages = NULL

◆ $cachedLanguageFlag

TYPO3\CMS\Backend\Form\FormEngine::$cachedLanguageFlag = array()

Definition at line 91 of file FormEngine.php.

◆ $cachedTSconfig

TYPO3\CMS\Backend\Form\FormEngine::$cachedTSconfig = array()

Definition at line 79 of file FormEngine.php.

◆ $cachedTSconfig_fieldLevel

TYPO3\CMS\Backend\Form\FormEngine::$cachedTSconfig_fieldLevel = array()

Definition at line 85 of file FormEngine.php.

◆ $charsPerRow

TYPO3\CMS\Backend\Form\FormEngine::$charsPerRow = 40

Definition at line 306 of file FormEngine.php.

◆ $classScheme

TYPO3\CMS\Backend\Form\FormEngine::$classScheme = array()

Definition at line 459 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\__construct().

◆ $clientInfo

TYPO3\CMS\Backend\Form\FormEngine::$clientInfo = array()

Definition at line 418 of file FormEngine.php.

◆ $clipObj

TYPO3\CMS\Backend\Form\FormEngine::$clipObj = NULL

Definition at line 251 of file FormEngine.php.

◆ $colorScheme

TYPO3\CMS\Backend\Form\FormEngine::$colorScheme = array()

Definition at line 451 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\__construct().

◆ $commentMessages

TYPO3\CMS\Backend\Form\FormEngine::$commentMessages = array()

Definition at line 499 of file FormEngine.php.

◆ $defaultLanguageData

TYPO3\CMS\Backend\Form\FormEngine::$defaultLanguageData = array()

Definition at line 149 of file FormEngine.php.

◆ $defaultLanguageData_diff

TYPO3\CMS\Backend\Form\FormEngine::$defaultLanguageData_diff = array()

Definition at line 157 of file FormEngine.php.

◆ $defaultMultipleSelectorStyle

TYPO3\CMS\Backend\Form\FormEngine::$defaultMultipleSelectorStyle = 'width:310px;'

Definition at line 330 of file FormEngine.php.

◆ $defClassScheme

TYPO3\CMS\Backend\Form\FormEngine::$defClassScheme = array()

Definition at line 475 of file FormEngine.php.

◆ $defColorScheme

TYPO3\CMS\Backend\Form\FormEngine::$defColorScheme = array()

Definition at line 467 of file FormEngine.php.

◆ $defStyle

TYPO3\CMS\Backend\Form\FormEngine::$defStyle = ''

Definition at line 73 of file FormEngine.php.

◆ $disableRTE

TYPO3\CMS\Backend\Form\FormEngine::$disableRTE = FALSE

Definition at line 208 of file FormEngine.php.

◆ $disableWizards

TYPO3\CMS\Backend\Form\FormEngine::$disableWizards = FALSE

Definition at line 55 of file FormEngine.php.

◆ $doPrintPalette

TYPO3\CMS\Backend\Form\FormEngine::$doPrintPalette = TRUE

Definition at line 242 of file FormEngine.php.

◆ $doSaveFieldName

TYPO3\CMS\Backend\Form\FormEngine::$doSaveFieldName = ''

Definition at line 191 of file FormEngine.php.

◆ $dynNestedStack

TYPO3\CMS\Backend\Form\FormEngine::$dynNestedStack = array()

◆ $edit_docModuleUpload

TYPO3\CMS\Backend\Form\FormEngine::$edit_docModuleUpload = FALSE

Definition at line 410 of file FormEngine.php.

◆ $edit_showFieldHelp

TYPO3\CMS\Backend\Form\FormEngine::$edit_showFieldHelp = FALSE

Definition at line 405 of file FormEngine.php.

◆ $enableClickMenu

TYPO3\CMS\Backend\Form\FormEngine::$enableClickMenu = FALSE

Definition at line 259 of file FormEngine.php.

◆ $enableTabMenu

TYPO3\CMS\Backend\Form\FormEngine::$enableTabMenu = FALSE

Definition at line 265 of file FormEngine.php.

◆ $extJSCODE

TYPO3\CMS\Backend\Form\FormEngine::$extJSCODE = ''

Definition at line 117 of file FormEngine.php.

◆ $extraFormHeaders

TYPO3\CMS\Backend\Form\FormEngine::$extraFormHeaders = array()

Definition at line 700 of file FormEngine.php.

◆ $fieldOrder

TYPO3\CMS\Backend\Form\FormEngine::$fieldOrder = ''

Definition at line 234 of file FormEngine.php.

◆ $fieldStyle

TYPO3\CMS\Backend\Form\FormEngine::$fieldStyle = NULL

Definition at line 483 of file FormEngine.php.

◆ $fieldTemplate

TYPO3\CMS\Backend\Form\FormEngine::$fieldTemplate = '<strong>###FIELD_NAME###</strong><br />###FIELD_ITEM###<hr />'

Definition at line 516 of file FormEngine.php.

◆ $form_additionalTextareaStyleWidth

TYPO3\CMS\Backend\Form\FormEngine::$form_additionalTextareaStyleWidth = 23
protected

Definition at line 289 of file FormEngine.php.

◆ $form_largeComp

TYPO3\CMS\Backend\Form\FormEngine::$form_largeComp = 1.33

Definition at line 297 of file FormEngine.php.

◆ $form_rowsToStylewidth

TYPO3\CMS\Backend\Form\FormEngine::$form_rowsToStylewidth = 9.58

Definition at line 282 of file FormEngine.php.

◆ $formName

TYPO3\CMS\Backend\Form\FormEngine::$formName = 'editform'

Definition at line 370 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\renderWizards().

◆ $globalShowHelp

TYPO3\CMS\Backend\Form\FormEngine::$globalShowHelp = TRUE

Definition at line 216 of file FormEngine.php.

◆ $hiddenFieldAccum

TYPO3\CMS\Backend\Form\FormEngine::$hiddenFieldAccum = array()

Definition at line 129 of file FormEngine.php.

◆ $hiddenFieldListArr

TYPO3\CMS\Backend\Form\FormEngine::$hiddenFieldListArr = array()

Definition at line 567 of file FormEngine.php.

◆ $hookObjectsMainFields

TYPO3\CMS\Backend\Form\FormEngine::$hookObjectsMainFields = array()

Definition at line 684 of file FormEngine.php.

◆ $hookObjectsSingleField

TYPO3\CMS\Backend\Form\FormEngine::$hookObjectsSingleField = array()

Definition at line 692 of file FormEngine.php.

◆ $inline

TYPO3\CMS\Backend\Form\FormEngine::$inline

Definition at line 676 of file FormEngine.php.

◆ $isPalettedoc

TYPO3\CMS\Backend\Form\FormEngine::$isPalettedoc = FALSE

Definition at line 61 of file FormEngine.php.

◆ $loadMD5_JS

TYPO3\CMS\Backend\Form\FormEngine::$loadMD5_JS = TRUE

Definition at line 141 of file FormEngine.php.

◆ $localizationMode

TYPO3\CMS\Backend\Form\FormEngine::$localizationMode = ''

Definition at line 224 of file FormEngine.php.

◆ $maxInputWidth

TYPO3\CMS\Backend\Form\FormEngine::$maxInputWidth = 48

Definition at line 322 of file FormEngine.php.

◆ $maxTextareaWidth

TYPO3\CMS\Backend\Form\FormEngine::$maxTextareaWidth = 48

Definition at line 314 of file FormEngine.php.

◆ $multiSelectFilterCount

TYPO3\CMS\Backend\Form\FormEngine::$multiSelectFilterCount = 0
protected

Definition at line 712 of file FormEngine.php.

◆ $paletteFieldTemplate

TYPO3\CMS\Backend\Form\FormEngine::$paletteFieldTemplate = ''
protected

Definition at line 523 of file FormEngine.php.

◆ $paletteMargin

TYPO3\CMS\Backend\Form\FormEngine::$paletteMargin = 1

Definition at line 67 of file FormEngine.php.

◆ $palettesCollapsed

TYPO3\CMS\Backend\Form\FormEngine::$palettesCollapsed = FALSE

◆ $palettesRendered

TYPO3\CMS\Backend\Form\FormEngine::$palettesRendered = array()

Definition at line 556 of file FormEngine.php.

◆ $palFieldArr

TYPO3\CMS\Backend\Form\FormEngine::$palFieldArr = array()

Definition at line 49 of file FormEngine.php.

◆ $palFieldTemplate

TYPO3\CMS\Backend\Form\FormEngine::$palFieldTemplate = ''

Definition at line 547 of file FormEngine.php.

◆ $palFieldTemplateHeader

TYPO3\CMS\Backend\Form\FormEngine::$palFieldTemplateHeader = ''

Definition at line 539 of file FormEngine.php.

◆ $perms_clause

TYPO3\CMS\Backend\Form\FormEngine::$perms_clause = ''

Definition at line 388 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\readPerms().

◆ $perms_clause_set

TYPO3\CMS\Backend\Form\FormEngine::$perms_clause_set = FALSE

Definition at line 396 of file FormEngine.php.

◆ $prependCmdFieldNames

TYPO3\CMS\Backend\Form\FormEngine::$prependCmdFieldNames = 'cmd'

Definition at line 347 of file FormEngine.php.

◆ $prependFormFieldNames

TYPO3\CMS\Backend\Form\FormEngine::$prependFormFieldNames = 'data'

Definition at line 339 of file FormEngine.php.

◆ $prependFormFieldNames_file

TYPO3\CMS\Backend\Form\FormEngine::$prependFormFieldNames_file = 'data_files'

Definition at line 355 of file FormEngine.php.

◆ $prependFormFieldNamesActive

TYPO3\CMS\Backend\Form\FormEngine::$prependFormFieldNamesActive = 'control[active]'
protected

Definition at line 362 of file FormEngine.php.

◆ $printNeededJS

TYPO3\CMS\Backend\Form\FormEngine::$printNeededJS = array()

Definition at line 123 of file FormEngine.php.

◆ $renderDepth

TYPO3\CMS\Backend\Form\FormEngine::$renderDepth = 0

Definition at line 611 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getMainFields().

◆ $renderReadonly

TYPO3\CMS\Backend\Form\FormEngine::$renderReadonly = FALSE

Definition at line 273 of file FormEngine.php.

◆ $requiredAdditional

TYPO3\CMS\Backend\Form\FormEngine::$requiredAdditional = array()

Definition at line 586 of file FormEngine.php.

◆ $requiredElements

TYPO3\CMS\Backend\Form\FormEngine::$requiredElements = array()

◆ $requiredFields

TYPO3\CMS\Backend\Form\FormEngine::$requiredFields = array()

Definition at line 576 of file FormEngine.php.

◆ $requiredNested

TYPO3\CMS\Backend\Form\FormEngine::$requiredNested = array()

Definition at line 603 of file FormEngine.php.

◆ $returnUrl

TYPO3\CMS\Backend\Form\FormEngine::$returnUrl = ''

Definition at line 181 of file FormEngine.php.

◆ $RTEcounter

TYPO3\CMS\Backend\Form\FormEngine::$RTEcounter = 0

Definition at line 443 of file FormEngine.php.

◆ $RTEenabled

TYPO3\CMS\Backend\Form\FormEngine::$RTEenabled = FALSE

Definition at line 426 of file FormEngine.php.

◆ $RTEenabled_notReasons

TYPO3\CMS\Backend\Form\FormEngine::$RTEenabled_notReasons = ''

Definition at line 435 of file FormEngine.php.

Referenced by TYPO3\CMS\Backend\Form\FormEngine\__construct().

◆ $savedSchemes

TYPO3\CMS\Backend\Form\FormEngine::$savedSchemes = array()

Definition at line 619 of file FormEngine.php.

◆ $sectionWrap

TYPO3\CMS\Backend\Form\FormEngine::$sectionWrap = ''

Definition at line 531 of file FormEngine.php.

◆ $suggest

TYPO3\CMS\Backend\Form\FormEngine::$suggest
protected

Definition at line 717 of file FormEngine.php.

◆ $TBE_EDITOR_fieldChanged_func

TYPO3\CMS\Backend\Form\FormEngine::$TBE_EDITOR_fieldChanged_func = ''

Definition at line 135 of file FormEngine.php.

◆ $templateFile

TYPO3\CMS\Backend\Form\FormEngine::$templateFile = ''

Definition at line 707 of file FormEngine.php.

◆ $totalWrap

TYPO3\CMS\Backend\Form\FormEngine::$totalWrap = '<hr />|<hr />'

Definition at line 508 of file FormEngine.php.

◆ $transformedRow

TYPO3\CMS\Backend\Form\FormEngine::$transformedRow = array()

Definition at line 111 of file FormEngine.php.