00001 <?php 00002 /*************************************************************** 00003 * Copyright notice 00004 * 00005 * (c) 2007 Bernhard Kraft <kraftb@kraftb.at> 00006 * All rights reserved 00007 * 00008 * This script is part of the TYPO3 project. The TYPO3 project is 00009 * free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * The GNU General Public License can be found at 00015 * http://www.gnu.org/copyleft/gpl.html. 00016 * A copy is found in the textfile GPL.txt and important notices to the license 00017 * from the author is found in LICENSE.txt distributed with these scripts. 00018 * 00019 * 00020 * This script is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * This copyright notice MUST APPEAR in all copies of the script! 00026 ***************************************************************/ 00027 00028 00029 /** 00030 * interface for classes which hook into localRecordList and modify clip-icons 00031 * 00032 * @author Bernhard Kraft <kraftb@kraftb.at> 00033 * @package TYPO3 00034 * @subpackage t3lib 00035 */ 00036 interface localRecordList_actionsHook { 00037 00038 /** 00039 * modifies Web>List clip icons (copy, cut, paste, etc.) of a displayed row 00040 * 00041 * @param string the current database table 00042 * @param array the current record row 00043 * @param array the default clip-icons to get modified 00044 * @param object Instance of calling object 00045 * @return array the modified clip-icons 00046 */ 00047 public function makeClip($table, $row, $cells, &$parentObject); 00048 00049 00050 /** 00051 * modifies Web>List control icons of a displayed row 00052 * 00053 * @param string the current database table 00054 * @param array the current record row 00055 * @param array the default control-icons to get modified 00056 * @param object Instance of calling object 00057 * @return array the modified control-icons 00058 */ 00059 public function makeControl($table, $row, $cells, &$parentObject); 00060 00061 00062 /** 00063 * modifies Web>List header row columns/cells 00064 * 00065 * @param string the current database table 00066 * @param array Array of the currently displayed uids of the table 00067 * @param array An array of rendered cells/columns 00068 * @param object Instance of calling (parent) object 00069 * @return array Array of modified cells/columns 00070 */ 00071 public function renderListHeader($table, $currentIdList, $headerColumns, &$parentObject); 00072 00073 00074 /** 00075 * modifies Web>List header row clipboard/action icons 00076 * 00077 * @param string the current database table 00078 * @param array Array of the currently displayed uids of the table 00079 * @param array An array of the current clipboard/action icons 00080 * @param object Instance of calling (parent) object 00081 * @return array Array of modified clipboard/action icons 00082 */ 00083 public function renderListHeaderActions($table, $currentIdList, $cells, &$parentObject); 00084 00085 00086 } 00087 00088 ?>
1.4.7