|
| renderForeignRecordHeaderControl_preProcess ($parentUid, $foreignTable, array $childRecord, array $childConfig, $isVirtual, array &$enabledControls) |
|
| renderForeignRecordHeaderControl_postProcess ($parentUid, $foreignTable, array $childRecord, array $childConfig, $isVirtual, array &$controlItems) |
|
Interface for classes which hook into inline element handling
Definition at line 20 of file InlineElementHookInterface.php.
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 | $parentUid | The uid of the parent (embedding) record (uid or NEW...) |
string | $foreignTable | The table (foreign_table) we create control-icons for |
array | $childRecord | The current record of that foreign_table |
array | $childConfig | TCA configuration of the current field of the child record |
bool | $isVirtual | Defines 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 |
( |
|
$parentUid, |
|
|
|
$foreignTable, |
|
|
array |
$childRecord, |
|
|
array |
$childConfig, |
|
|
|
$isVirtual, |
|
|
array & |
$enabledControls |
|
) |
| |
Pre-processing to define which control items are enabled or disabled.
- Parameters
-
string | $parentUid | The uid of the parent (embedding) record (uid or NEW...) |
string | $foreignTable | The table (foreign_table) we create control-icons for |
array | $childRecord | The current record of that foreign_table |
array | $childConfig | TCA configuration of the current field of the child record |
bool | $isVirtual | Defines 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