‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Form\Container\AbstractContainer Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\Container\AbstractContainer:
TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface TYPO3\CMS\Backend\Form\Container\FlexFormContainerContainer TYPO3\CMS\Backend\Form\Container\FlexFormElementContainer TYPO3\CMS\Backend\Form\Container\FlexFormEntryContainer TYPO3\CMS\Backend\Form\Container\FlexFormNoTabsContainer TYPO3\CMS\Backend\Form\Container\FlexFormSectionContainer TYPO3\CMS\Backend\Form\Container\FlexFormTabsContainer TYPO3\CMS\Backend\Form\Container\FullRecordContainer TYPO3\CMS\Backend\Form\Container\InlineControlContainer TYPO3\CMS\Backend\Form\Container\InlineRecordContainer TYPO3\CMS\Backend\Form\Container\ListOfFieldsContainer TYPO3\CMS\Backend\Form\Container\NoTabsContainer TYPO3\CMS\Backend\Form\Container\OuterWrapContainer TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer TYPO3\CMS\Backend\Form\Container\SingleFieldContainer TYPO3\CMS\Backend\Form\Container\TabsContainer

Protected Member Functions

array renderFieldInformation ()
 
array renderFieldControl ()
 
array renderFieldWizard ()
 
array explodeSingleFieldShowItemConfiguration ($field)
 
string renderTabMenu (array $menuItems, $domId, $defaultTabIndex=1)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
string getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 __construct (NodeFactory $nodeFactory, array $data)
 
array render ()
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
NodeFactory $nodeFactory
 
array $data = array( )
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

Abstract container has various methods used by the container classes

Definition at line 27 of file AbstractContainer.php.

Member Function Documentation

◆ explodeSingleFieldShowItemConfiguration()

array TYPO3\CMS\Backend\Form\Container\AbstractContainer::explodeSingleFieldShowItemConfiguration (   $field)
protected

A single field of TCA 'types' 'showitem' can have three semicolon separated configuration options: fieldName: Name of the field to be found in TCA 'columns' section fieldLabel: An alternative field label paletteName: Name of a palette to be found in TCA 'palettes' section that is rendered after this field

Parameters
string$field‪Semicolon separated field configuration
Exceptions

Definition at line 90 of file AbstractContainer.php.

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

Referenced by TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer\createPaletteContentArray(), TYPO3\CMS\Backend\Form\Container\TabsContainer\render(), TYPO3\CMS\Backend\Form\Container\ListOfFieldsContainer\render(), and TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer\render().

◆ renderFieldControl()

array TYPO3\CMS\Backend\Form\Container\AbstractContainer::renderFieldControl ( )
protected

Merge field control configuration with default controls and render them.

Returns
‪array Result array

Definition at line 51 of file AbstractContainer.php.

References TYPO3\CMS\Backend\Form\AbstractNode\$data, TYPO3\CMS\Backend\Form\AbstractNode\$defaultFieldControl, and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

◆ renderFieldInformation()

◆ renderFieldWizard()

array TYPO3\CMS\Backend\Form\Container\AbstractContainer::renderFieldWizard ( )
protected

◆ renderTabMenu()

string TYPO3\CMS\Backend\Form\Container\AbstractContainer::renderTabMenu ( array  $menuItems,
  $domId,
  $defaultTabIndex = 1 
)
protected

Render tabs with label and content. Used by TabsContainer and FlexFormTabsContainer. Re-uses the template Tabs.html which is also used by ModuleTemplate.php.

Parameters
array$menuItems‪Tab elements, each element is an array with "label" and "content"
string$domId‪DOM id attribute, will be appended with an iteration number per tab.
int$defaultTabIndex
Returns
‪string

Definition at line 112 of file AbstractContainer.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath().

Referenced by TYPO3\CMS\Backend\Form\Container\TabsContainer\render(), and TYPO3\CMS\Backend\Form\Container\FlexFormTabsContainer\render().