![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct (NodeFactory $nodeFactory, array $data) | |
![]() | |
__construct (NodeFactory $nodeFactory, array $data) | |
render () | |
Protected Member Functions | |
explodeSingleFieldShowItemConfiguration ($field) | |
renderTabMenu (array $menuItems, $domId, $defaultTabIndex=1) | |
previewFieldValue ($value, $config, $field= '') | |
![]() | |
initializeResultArray () | |
mergeChildReturnIntoExistingResult (array $existing, array $childReturn) | |
getValidationDataAsDataAttribute (array $config) | |
getValidationDataAsJsonString (array $config) | |
Protected Attributes | |
$nodeFactory | |
![]() | |
$data = array() | |
Abstract container has various methods used by the container classes
Definition at line 28 of file AbstractContainer.php.
__construct | ( | NodeFactory | $nodeFactory, |
array | $data | ||
) |
Container objects give $nodeFactory down to other containers.
NodeFactory | $nodeFactory | |
array | $data |
Implements NodeInterface.
Definition at line 43 of file AbstractContainer.php.
References AbstractContainer\$nodeFactory.
|
protected |
A single field of TCA 'types' 'showitem' can have four 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 extra: Special configuration options of this field
string | $field | Semicolon separated field configuration |
\RuntimeException |
Definition at line 60 of file AbstractContainer.php.
References GeneralUtility\trimExplode().
Referenced by PaletteAndSingleContainer\createPaletteContentArray(), TabsContainer\render(), ListOfFieldsContainer\render(), SoloFieldContainer\render(), and PaletteAndSingleContainer\render().
|
protected |
Rendering preview output of a field value which is not shown as a form field but just outputted.
string | $value | The value to output |
array | $config | Configuration for field. |
string | $field | Name of field. |
Definition at line 104 of file AbstractContainer.php.
References GeneralUtility\formatSize(), GeneralUtility\getFileAbsFileName(), GeneralUtility\makeInstance(), Icon\SIZE_SMALL, GeneralUtility\trimExplode(), and BackendUtility\wrapClickMenuOnIcon().
|
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.
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 81 of file AbstractContainer.php.
References GeneralUtility\getFileAbsFileName(), and GeneralUtility\makeInstance().
Referenced by FlexFormTabsContainer\render(), and TabsContainer\render().
|
protected |
Definition at line 35 of file AbstractContainer.php.
Referenced by AbstractContainer\__construct().