9f3d4604865013df0cc869501f4adde28cf62a97
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / DatabaseFileIconsHookInterface.php
1 <?php
2 namespace TYPO3\CMS\Backend\Form;
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 /**
18 * Interface for classes which hook into \TYPO3\CMS\Backend\Form\FormEngine
19 * and do additional dbFileIcons processing
20 */
21 interface DatabaseFileIconsHookInterface
22 {
23 /**
24 * Modifies the parameters for selector box form-field for the db/file/select elements (multiple)
25 *
26 * @param array $params An array of additional parameters, eg: "size", "info", "headers" (array with "selector" and "items"), "noBrowser", "thumbnails
27 * @param string $selector Alternative selector box.
28 * @param string $thumbnails Thumbnail view of images. Only filled if there are images only. This images will be shown under the selectorbox.
29 * @param array $icons Defined icons next to the selector box.
30 * @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.
31 * @param string $fName Form element name
32 * @param array $uidList The array of item-uids. Have a look at \TYPO3\CMS\Backend\Form\FormEngine::dbFileIcons parameter "$itemArray
33 * @param array $additionalParams Array with additional parameters which are be available at method call. Includes $mode, $allowed, $itemArray, $onFocus, $table, $field, $uid.
34 * @param object $parentObject Parent object
35 * @return void
36 */
37 public function dbFileIcons_postProcess(array &$params, &$selector, &$thumbnails, array &$icons, &$rightbox, &$fName, array &$uidList, array $additionalParams, $parentObject);
38 }