‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer:
TYPO3\CMS\Backend\Form\Container\AbstractContainer TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

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

Protected Member Functions

 createPaletteContentArray (string $paletteName)
 
string renderInnerPaletteContent (array $elementArray)
 
 getLanguageService ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Container\AbstractContainer
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

array $resultArray = []
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\Container\AbstractContainer
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

Handle palettes and single fields.

This container is called by TabsContainer, NoTabsContainer and ListOfFieldsContainer.

This container mostly operates on TCA showItem of a specific type - the value is coming in from upper containers as "fieldArray". It handles palettes with all its different options and prepares rendering of single fields for the SingleFieldContainer.

Definition at line 32 of file PaletteAndSingleContainer.php.

Member Function Documentation

◆ createPaletteContentArray()

TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::createPaletteContentArray ( string  $paletteName)
protected

◆ getLanguageService()

TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::getLanguageService ( )
protected

◆ render()

◆ renderInnerPaletteContent()

string TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::renderInnerPaletteContent ( array  $elementArray)
protected

Renders inner content of single elements of a palette and wrap it as needed

Parameters
array$elementArray‪Array of elements
Returns
‪string Wrapped content

Definition at line 238 of file PaletteAndSingleContainer.php.

References $fields.

Referenced by TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer\render().

Member Data Documentation

◆ $resultArray

array TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::$resultArray = []
protected

Final result array accumulating results from children and final HTML

Definition at line 37 of file PaletteAndSingleContainer.php.

Referenced by TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer\render().