‪TYPO3CMS  10.4
TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface Interface Reference

Public Member Functions

array makeClip ($table, $row, $cells, &$parentObject)
 
array makeControl ($table, $row, $cells, &$parentObject)
 
array renderListHeader ($table, $currentIdList, $headerColumns, &$parentObject)
 
array renderListHeaderActions ($table, $currentIdList, $cells, &$parentObject)
 

Detailed Description

Interface for classes which hook into \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList and modify clip-icons

Definition at line 21 of file RecordListHookInterface.php.

Member Function Documentation

◆ makeClip()

array TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface::makeClip (   $table,
  $row,
  $cells,
$parentObject 
)

Modifies Web>List clip icons (copy, cut, paste, etc.) of a displayed row

Parameters
string$table‪The current database table
array$row‪The current record row
array$cells‪The default clip-icons to get modified
object$parentObject‪Instance of calling object
Returns
‪array The modified clip-icons

◆ makeControl()

array TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface::makeControl (   $table,
  $row,
  $cells,
$parentObject 
)

Modifies Web>List control icons of a displayed row

Parameters
string$table‪The current database table
array$row‪The current record row
array$cells‪The default control-icons to get modified
object$parentObject‪Instance of calling object
Returns
‪array The modified control-icons

◆ renderListHeader()

array TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface::renderListHeader (   $table,
  $currentIdList,
  $headerColumns,
$parentObject 
)

Modifies Web>List header row columns/cells

Parameters
string$table‪The current database table
array$currentIdList‪Array of the currently displayed uids of the table
array$headerColumns‪An array of rendered cells/columns
object$parentObject‪Instance of calling (parent) object
Returns
‪array Array of modified cells/columns

◆ renderListHeaderActions()

array TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface::renderListHeaderActions (   $table,
  $currentIdList,
  $cells,
$parentObject 
)

Modifies Web>List header row clipboard/action icons

Parameters
string$table‪The current database table
array$currentIdList‪Array of the currently displayed uids of the table
array$cells‪An array of the current clipboard/action icons
object$parentObject‪Instance of calling (parent) object
Returns
‪array Array of modified clipboard/action icons