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

Public Member Functions

 __construct (NodeFactory $nodeFactory, array $data)
 
array render ()
 

Protected Member Functions

array renderChild (array $data)
 
array renderCombinationChild (array $data, $appendFormFieldNames)
 
string renderForeignRecordHeader (array $data)
 
string renderForeignRecordHeaderControl (array $data)
 
string normalizeUid ($string)
 
 initHookObjects ()
 
BackendUserAuthentication getBackendUserAuthentication ()
 
LanguageService getLanguageService ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Container\AbstractContainer
array renderFieldInformation ()
 
array renderFieldControl ()
 
array renderFieldWizard ()
 
array explodeSingleFieldShowItemConfiguration ($field)
 
string renderTabMenu (array $menuItems, $domId, $defaultTabIndex=1)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
string getValidationDataAsJsonString (array $config)
 

Protected Attributes

array $inlineData = array( )
 
InlineStackProcessor $inlineStackProcessor
 
array $hookObjects = array( )
 
IconFactory $iconFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
NodeFactory $nodeFactory
 
array $data = array( )
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

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 46 of file InlineRecordContainer.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::__construct ( NodeFactory  $nodeFactory,
array  $data 
)

Member Function Documentation

◆ getBackendUserAuthentication()

BackendUserAuthentication TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::getBackendUserAuthentication ( )
protected
Returns
‪BackendUserAuthentication

Definition at line 674 of file InlineRecordContainer.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeaderControl().

◆ getLanguageService()

◆ initHookObjects()

TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::initHookObjects ( )
protected

Initialized the hook objects for this class. Each hook object has to implement the interface \TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface

Exceptions

Definition at line 659 of file InlineRecordContainer.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\__construct().

◆ normalizeUid()

string TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::normalizeUid (   $string)
protected

Normalize a relation "uid" published by transferData, like "1|Company%201"

Parameters
string$string‪A transferData reference string, containing the uid
Returns
‪string The normalized uid

Definition at line 646 of file InlineRecordContainer.php.

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

◆ render()

◆ renderChild()

array TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderChild ( array  $data)
protected

◆ renderCombinationChild()

array TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderCombinationChild ( array  $data,
  $appendFormFieldNames 
)
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!

Parameters
array$data
string$appendFormFieldNames‪The [
‪[<uid>] of the parent record (the intermediate table)
Returns
‪array Result array

Definition at line 266 of file InlineRecordContainer.php.

References TYPO3\CMS\Backend\Form\AbstractNode\$data, TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\getLanguageService(), TYPO3\CMS\Backend\Form\AbstractNode\initializeResultArray(), TYPO3\CMS\Backend\Form\AbstractNode\mergeChildReturnIntoExistingResult(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderChild(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

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

◆ renderForeignRecordHeader()

string TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderForeignRecordHeader ( array  $data)
protected

◆ renderForeignRecordHeaderControl()

Member Data Documentation

◆ $hookObjects

array TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::$hookObjects = array( )
protected

Array containing instances of hook classes called once for IRRE objects

Definition at line 62 of file InlineRecordContainer.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::$iconFactory
protected

Definition at line 66 of file InlineRecordContainer.php.

◆ $inlineData

array TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::$inlineData = array( )
protected

◆ $inlineStackProcessor

InlineStackProcessor TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::$inlineStackProcessor
protected