TYPO3
7.6
|
Public Member Functions | |
__construct (NodeFactory $nodeFactory, array $data) | |
render () | |
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 | |
renderChild (array $data) | |
renderCombinationChild (array $data, $appendFormFieldNames) | |
renderForeignRecordHeader (array $data) | |
normalizeUid ($string) | |
initHookObjects () | |
getBackendUserAuthentication () | |
getDatabaseConnection () | |
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 | |
$hookObjects = array() | |
$iconFactory | |
Protected Attributes inherited from AbstractContainer | |
$nodeFactory | |
Protected Attributes inherited from AbstractNode | |
$data = array() | |
Render a single inline record relation.
This container is called by InlineControlContainer to render single existing records. Furthermore it is called by FormEngine for an incoming ajax request to expand an existing record or to create a new one.
This container creates the outer HTML of single inline records - eg. drag and drop and delete buttons. For rendering of the record itself processing is handed over to FullRecordContainer.
Definition at line 44 of file InlineRecordContainer.php.
__construct | ( | NodeFactory | $nodeFactory, |
array | $data | ||
) |
Default constructor
NodeFactory | $nodeFactory | |
array | $data |
Implements NodeInterface.
Definition at line 76 of file InlineRecordContainer.php.
References InlineRecordContainer\initHookObjects(), and GeneralUtility\makeInstance().
|
protected |
Definition at line 593 of file InlineRecordContainer.php.
References $GLOBALS.
|
protected |
Definition at line 601 of file InlineRecordContainer.php.
References $GLOBALS.
|
protected |
Definition at line 609 of file InlineRecordContainer.php.
References $GLOBALS.
Referenced by InlineRecordContainer\renderCombinationChild(), and InlineRecordContainer\renderForeignRecordHeader().
|
protected |
Initialized the hook objects for this class. Each hook object has to implement the interface
\UnexpectedValueException |
Definition at line 573 of file InlineRecordContainer.php.
References $GLOBALS, and GeneralUtility\getUserObj().
Referenced by InlineRecordContainer\__construct().
|
protected |
Normalize a relation "uid" published by transferData, like "1|Company%201"
string | $string | A transferData reference string, containing the uid |
Definition at line 559 of file InlineRecordContainer.php.
Referenced by InlineRecordContainer\render().
render | ( | ) |
Entry method
AccessDeniedContentEditException |
Implements NodeInterface.
Definition at line 90 of file InlineRecordContainer.php.
References AbstractNode\$data, $GLOBALS, InlineRecordContainer\$inlineData, InlineRecordContainer\$inlineStackProcessor, GeneralUtility\getIndpEnv(), AbstractNode\initializeResultArray(), AbstractNode\mergeChildReturnIntoExistingResult(), InlineRecordContainer\normalizeUid(), InlineRecordContainer\renderChild(), InlineRecordContainer\renderCombinationChild(), and InlineRecordContainer\renderForeignRecordHeader().
|
protected |
Render inner child
array | $data |
Definition at line 219 of file InlineRecordContainer.php.
References InlineRecordContainer\$inlineData.
Referenced by InlineRecordContainer\render(), and InlineRecordContainer\renderCombinationChild().
|
protected |
Render child child
Render a table with FormEngine, that occurs on an intermediate table but should be editable directly, so two tables are combined (the intermediate table with attributes and the sub-embedded table). -> This is a direct embedding over two levels!
array | $data | |
string | $appendFormFieldNames | The [ |
Definition at line 243 of file InlineRecordContainer.php.
References InlineRecordContainer\getLanguageService(), AbstractNode\initializeResultArray(), GeneralUtility\makeInstance(), AbstractNode\mergeChildReturnIntoExistingResult(), InlineRecordContainer\renderChild(), and AbstractMessage\WARNING.
Referenced by InlineRecordContainer\render().
|
protected |
Renders the HTML header for a foreign record, such as the title, toggle-function, drag'n'drop, etc. Later on the command-icons are inserted here.
array | $data | Current data |
Definition at line 290 of file InlineRecordContainer.php.
References ProcessedFile\CONTEXT_IMAGECROPSCALEMASK, elseif, ResourceFactory\getInstance(), InlineRecordContainer\getLanguageService(), BackendUtility\getRecordIconAltText(), Icon\SIZE_SMALL, BackendUtility\splitTable_Uid(), and GeneralUtility\trimExplode().
Referenced by InlineRecordContainer\render().
|
protected |
Definition at line 63 of file InlineRecordContainer.php.
|
protected |
Definition at line 68 of file InlineRecordContainer.php.
|
protected |
Definition at line 51 of file InlineRecordContainer.php.
Referenced by InlineRecordContainer\render(), and InlineRecordContainer\renderChild().
|
protected |
Definition at line 56 of file InlineRecordContainer.php.
Referenced by InlineRecordContainer\render().