TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface:
t3lib_tceformsInlineHook

Public Member Functions

 init (&$parentObject)
 
 renderForeignRecordHeaderControl_preProcess ($parentUid, $foreignTable, array $childRecord, array $childConfig, $isVirtual, array &$enabledControls)
 
 renderForeignRecordHeaderControl_postProcess ($parentUid, $foreignTable, array $childRecord, array $childConfig, $isVirtual, array &$controlItems)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Interface for classes which hook into

Author
Oliver Hader oh@in.nosp@m.publ.nosp@m.ica.d.nosp@m.e

Definition at line 22 of file InlineElementHookInterface.php.

Member Function Documentation

◆ init()

TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface::init ( $parentObject)

Initializes this hook object.

Parameters
\TYPO3\CMS\Backend\Form\Element\InlineElement$parentObject
Returns
void

◆ renderForeignRecordHeaderControl_postProcess()

TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface::renderForeignRecordHeaderControl_postProcess (   $parentUid,
  $foreignTable,
array  $childRecord,
array  $childConfig,
  $isVirtual,
array &  $controlItems 
)

Post-processing to define which control items to show. Possibly own icons can be added here.

Parameters
string$parentUidThe uid of the parent (embedding) record (uid or NEW...)
string$foreignTableThe table (foreign_table) we create control-icons for
array$childRecordThe current record of that foreign_table
array$childConfigTCA configuration of the current field of the child record
boolean$isVirtualDefines whether the current records is only virtually shown and not physically part of the parent record
array&$controlItems(reference) Associative array with the currently available control items
Returns
void

◆ renderForeignRecordHeaderControl_preProcess()

TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface::renderForeignRecordHeaderControl_preProcess (   $parentUid,
  $foreignTable,
array  $childRecord,
array  $childConfig,
  $isVirtual,
array &  $enabledControls 
)

Pre-processing to define which control items are enabled or disabled.

Parameters
string$parentUidThe uid of the parent (embedding) record (uid or NEW...)
string$foreignTableThe table (foreign_table) we create control-icons for
array$childRecordThe current record of that foreign_table
array$childConfigTCA configuration of the current field of the child record
boolean$isVirtualDefines whether the current records is only virtually shown and not physically part of the parent record
array&$enabledControls(reference) Associative array with the enabled control items
Returns
void