TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface:
localRecordList_actionsHook

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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Interface for classes which hook into localRecordList and modify clip-icons

Author
Bernhard Kraft kraft.nosp@m.b@kr.nosp@m.aftb..nosp@m.at

Definition at line 21 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