TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface Interface Reference

Public Member Functions

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

Detailed Description

Interface for classes which hook into and modify clip-icons

Definition at line 20 of file RecordListHookInterface.php.

Member Function Documentation

◆ makeClip()

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$tableThe current database table
array$rowThe current record row
array$cellsThe default clip-icons to get modified
object$parentObjectInstance of calling object
Returns
array The modified clip-icons

◆ makeControl()

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

Modifies Web>List control icons of a displayed row

Parameters
string$tableThe current database table
array$rowThe current record row
array$cellsThe default control-icons to get modified
object$parentObjectInstance of calling object
Returns
array The modified control-icons

◆ renderListHeader()

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

Modifies Web>List header row columns/cells

Parameters
string$tableThe current database table
array$currentIdListArray of the currently displayed uids of the table
array$headerColumnsAn array of rendered cells/columns
object$parentObjectInstance of calling (parent) object
Returns
array Array of modified cells/columns

◆ renderListHeaderActions()

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

Modifies Web>List header row clipboard/action icons

Parameters
string$tableThe current database table
array$currentIdListArray of the currently displayed uids of the table
array$cellsAn array of the current clipboard/action icons
object$parentObjectInstance of calling (parent) object
Returns
array Array of modified clipboard/action icons