TYPO3 API  SVNRelease
interface.t3lib_tceforms_dbfileiconshook.php
Go to the documentation of this file.
00001 <?php
00002 /***************************************************************
00003  *  Copyright notice
00004  *
00005  *  (c) 2010-2011 Andy Grunwald <andreas.grunwald@wmdb.de>
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 t3lib_TCEforms and do additional dbFileIcons processing
00031  *
00032  * @author  Andy Grunwald <andreas.grunwald@wmdb.de>
00033  * @package TYPO3
00034  * @subpackage t3lib
00035  */
00036 interface t3lib_TCEforms_dbFileIconsHook {
00037 
00038     /**
00039      * Modifies the parameters for selector box form-field for the db/file/select elements (multiple)
00040      *
00041      * @param   array           $params             An array of additional parameters, eg: "size", "info", "headers" (array with "selector" and "items"), "noBrowser", "thumbnails"
00042      * @param   string          $selector           Alternative selector box.
00043      * @param   string          $thumbnails         Thumbnail view of images. Only filled if there are images only. This images will be shown under the selectorbox.
00044      * @param   array           $icons              Defined icons next to the selector box.
00045      * @param   string          $rightbox           Thumbnail view of images. Only filled if there are other types as images. This images will be shown right next to the selectorbox.
00046      * @param   string          $fName              Form element name
00047      * @param   array           $uidList            The array of item-uids. Have a look at t3lib_TCEforms::dbFileIcons parameter "$itemArray"
00048      * @param   array           $additionalParams   Array with additional parameters which are be available at method call. Includes $mode, $allowed, $itemArray, $onFocus, $table, $field, $uid. For more information have a look at PHPDoc-Comment of t3lib_TCEforms::dbFileIcons
00049      * @param   t3lib_TCEforms  $parentObject       parent t3lib_TCEforms object
00050      * @return  void
00051      */
00052     public function dbFileIcons_postProcess(array &$params, &$selector, &$thumbnails, array &$icons, &$rightbox, &$fName, array &$uidList, array $additionalParams, t3lib_TCEforms $parentObject);
00053 }
00054 
00055 ?>