TYPO3  7.6
Public Member Functions | List of all members
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 (   $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 (   $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 (   $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 (   $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