‪TYPO3CMS  ‪main
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\FileReferenceContainer TYPO3\CMS\Backend\Form\Container\FilesControlContainer 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\SiteLanguageContainer TYPO3\CMS\Backend\Form\Container\TabsContainer

Public Member Functions

 injectNodeFactory (NodeFactory $nodeFactory)
 
 injectBackendViewFactory (BackendViewFactory $backendViewFactory)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 setData (array $data)
 
array render ()
 

Protected Member Functions

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

Protected Attributes

NodeFactory $nodeFactory
 
BackendViewFactory $backendViewFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array $data = []
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

Abstract container has various methods used by the container classes

Definition at line 28 of file AbstractContainer.php.

Member Function Documentation

◆ explodeSingleFieldShowItemConfiguration()

TYPO3\CMS\Backend\Form\Container\AbstractContainer::explodeSingleFieldShowItemConfiguration ( string  $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 107 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().

◆ getBackendUserAuthentication()

◆ injectBackendViewFactory()

TYPO3\CMS\Backend\Form\Container\AbstractContainer::injectBackendViewFactory ( BackendViewFactory  $backendViewFactory)

◆ injectNodeFactory()

TYPO3\CMS\Backend\Form\Container\AbstractContainer::injectNodeFactory ( NodeFactory  $nodeFactory)

Injection of NodeFactory, which is used in this abstract already. Using inject* method to not pollute __construct() for inheriting classes.

Definition at line 37 of file AbstractContainer.php.

References TYPO3\CMS\Backend\Form\Container\AbstractContainer\$nodeFactory.

◆ 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 69 of file AbstractContainer.php.

References TYPO3\CMS\Backend\Form\AbstractNode\$data, and TYPO3\CMS\Backend\Form\AbstractNode\$defaultFieldControl.

◆ renderFieldInformation()

◆ renderFieldWizard()

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

◆ renderTabMenu()

TYPO3\CMS\Backend\Form\Container\AbstractContainer::renderTabMenu ( array  $menuItems,
string  $domId 
)
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.

Definition at line 127 of file AbstractContainer.php.

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

◆ wrapWithFieldsetAndLegend()

Member Data Documentation

◆ $backendViewFactory

BackendViewFactory TYPO3\CMS\Backend\Form\Container\AbstractContainer::$backendViewFactory
protected

◆ $nodeFactory

NodeFactory TYPO3\CMS\Backend\Form\Container\AbstractContainer::$nodeFactory
protected