TYPO3 API  SVNRelease
Public Member Functions
t3lib_tceformsInlineHook Interface Reference

List of all members.

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

Definition at line 37 of file interface.t3lib_tceformsinlinehook.php.


Member Function Documentation

t3lib_tceformsInlineHook::init ( &$  parentObject)

Initializes this hook object.

Parameters:
t3lib_TCEforms_inline$parentObject,:The calling t3lib_TCEforms_inline object.
Returns:
void
t3lib_tceformsInlineHook::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
boolean$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
t3lib_tceformsInlineHook::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
boolean$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

The documentation for this interface was generated from the following file: