‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Form\FieldControl\AddRecord Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\FieldControl\AddRecord:
TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

 __construct (private readonly UriBuilder $uriBuilder,)
 
array render ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 setData (array $data)
 

Protected Member Functions

 resolvePid (array $options, string $table)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
 getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array $data = []
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

Renders the icon with link parameters to add a new record, typically used for single elements of type=group or type=select.

Definition at line 31 of file AddRecord.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Form\FieldControl\AddRecord::__construct ( private readonly UriBuilder  $uriBuilder)

Definition at line 33 of file AddRecord.php.

Member Function Documentation

◆ render()

array TYPO3\CMS\Backend\Form\FieldControl\AddRecord::render ( )

◆ resolvePid()

TYPO3\CMS\Backend\Form\FieldControl\AddRecord::resolvePid ( array  $options,
string  $table 
)
protected

Definition at line 109 of file AddRecord.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\FieldControl\AddRecord\render().