TYPO3
7.6
|
Public Member Functions | |
__construct (NodeFactory $nodeFactory, array $data) | |
Public Member Functions inherited from AbstractContainer | |
__construct (NodeFactory $nodeFactory, array $data) | |
Public Member Functions inherited from AbstractNode | |
__construct (NodeFactory $nodeFactory, array $data) | |
render () | |
Protected Member Functions | |
getLevelInteractionLink ($type, $objectPrefix, $conf=array()) | |
wrapWithAnchor ($text, $link, $attributes=array()) | |
renderPossibleRecordsSelectorTypeGroupDB (array $inlineConfiguration) | |
renderPossibleRecordsSelectorTypeSelect (array $config, array $uniqueIds) | |
extractFlexFormParts ($formElementName) | |
getBackendUserAuthentication () | |
getLanguageService () | |
Protected Member Functions inherited from AbstractContainer | |
explodeSingleFieldShowItemConfiguration ($field) | |
renderTabMenu (array $menuItems, $domId, $defaultTabIndex=1) | |
previewFieldValue ($value, $config, $field= '') | |
Protected Member Functions inherited from AbstractNode | |
initializeResultArray () | |
mergeChildReturnIntoExistingResult (array $existing, array $childReturn) | |
getValidationDataAsDataAttribute (array $config) | |
getValidationDataAsJsonString (array $config) | |
Protected Attributes | |
$inlineData = array() | |
$inlineStackProcessor | |
$iconFactory | |
$requireJsModules = [] | |
Protected Attributes inherited from AbstractContainer | |
$nodeFactory | |
Protected Attributes inherited from AbstractNode | |
$data = array() | |
Inline element entry container.
This container is the entry step to rendering an inline element. It is created by SingleFieldContainer.
The code creates the main structure for the single inline elements, initializes the inlineData array, that is manipulated and also returned back in its manipulated state. The "control" stuff of inline elements is rendered here, for example the "create new" button.
For each existing inline relation an InlineRecordContainer is called for further processing.
Definition at line 40 of file InlineControlContainer.php.
__construct | ( | NodeFactory | $nodeFactory, |
array | $data | ||
) |
Container objects give $nodeFactory down to other containers.
NodeFactory | $nodeFactory | |
array | $data |
Implements NodeInterface.
Definition at line 70 of file InlineControlContainer.php.
References GeneralUtility\makeInstance().
|
protected |
Extracts FlexForm parts of a form element name like data[table][uid][field][sDEF][lDEF][FlexForm][vDEF] Helper method used in inline
string | $formElementName | The form element name |
Definition at line 584 of file InlineControlContainer.php.
References GeneralUtility\trimExplode().
|
protected |
Definition at line 600 of file InlineControlContainer.php.
References $GLOBALS.
Referenced by InlineControlContainer\renderPossibleRecordsSelectorTypeGroupDB().
|
protected |
Definition at line 608 of file InlineControlContainer.php.
References $GLOBALS.
Referenced by InlineControlContainer\getLevelInteractionLink(), InlineControlContainer\renderPossibleRecordsSelectorTypeGroupDB(), and InlineControlContainer\renderPossibleRecordsSelectorTypeSelect().
|
protected |
Creates the HTML code of a general link to be used on a level of inline children. The possible keys for the parameter $type are 'newRecord', 'localize' and 'synchronize'.
string | $type | The link type, values are 'newRecord', 'localize' and 'synchronize'. |
string | $objectPrefix | The "path" to the child record to create (e.g. 'data-parentPageId-partenTable-parentUid-parentField-childTable]') |
array | $conf | TCA configuration of the parent(!) field |
Definition at line 336 of file InlineControlContainer.php.
References $GLOBALS, elseif, InlineControlContainer\getLanguageService(), GeneralUtility\quoteJSvalue(), Icon\SIZE_SMALL, and InlineControlContainer\wrapWithAnchor().
|
protected |
Generate a link that opens an element browser in a new window. For group/db there is no way to use a "selector" like a <select>|</select>-box.
array | $inlineConfiguration | TCA inline configuration of the parent(!) field |
Definition at line 411 of file InlineControlContainer.php.
References Folder\checkActionPermission(), InlineControlContainer\getBackendUserAuthentication(), OnlineMediaHelperRegistry\getInstance(), InlineControlContainer\getLanguageService(), GeneralUtility\getMaxUploadFileSize(), GeneralUtility\quoteJSvalue(), Icon\SIZE_SMALL, and GeneralUtility\trimExplode().
|
protected |
Get a selector as used for the select type, to select from all available records and to create a relation to the embedding record (e.g. like MM).
array | $config | TCA inline configuration of the parent(!) field |
array | $uniqueIds | The uids that have already been used and should be unique |
Definition at line 529 of file InlineControlContainer.php.
References MathUtility\forceIntegerInRange(), InlineControlContainer\getLanguageService(), GeneralUtility\quoteJSvalue(), and Icon\SIZE_SMALL.
|
protected |
Wraps a text with an anchor and returns the HTML representation.
string | $text | The text to be wrapped by an anchor |
string | $link | The link to be used in the anchor |
array | $attributes | Array of attributes to be used in the anchor |
Definition at line 393 of file InlineControlContainer.php.
Referenced by InlineControlContainer\getLevelInteractionLink().
|
protected |
Definition at line 57 of file InlineControlContainer.php.
|
protected |
Definition at line 47 of file InlineControlContainer.php.
|
protected |
Definition at line 52 of file InlineControlContainer.php.
|
protected |
Definition at line 62 of file InlineControlContainer.php.