‪TYPO3CMS  9.5
FileListFolderTree.php
Go to the documentation of this file.
1 <?php
2 namespace ‪TYPO3\CMS\Filelist;
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 
23 {
27  public ‪$ext_IconMode;
28 
36  public function ‪wrapIcon($theFolderIcon, $folderObject)
37  {
38  $theFolderIcon = parent::wrapIcon($theFolderIcon, $folderObject);
39  // Wrap icon in a drag/drop span.
40  return '<span class="list-tree-icon dragIcon" id="dragIconID_' . $this->‪getJumpToParam($folderObject) . '">' . $theFolderIcon . '</span> ';
41  }
42 
52  public function ‪wrapTitle(‪$title, $folderObject, ‪$bank = 0)
53  {
54  $theFolderTitle = parent::wrapTitle(‪$title, $folderObject, ‪$bank);
55  // Wrap title in a drag/drop span.
56  return '<span class="list-tree-title dragTitle" id="dragTitleID_' . $this->‪getJumpToParam($folderObject) . '">' . $theFolderTitle . '</span>';
57  }
58 }
‪TYPO3\CMS\Filelist\FileListFolderTree
Definition: FileListFolderTree.php:23
‪TYPO3\CMS\Backend\Tree\View\FolderTreeView\getJumpToParam
‪string getJumpToParam($folderObject)
Definition: FolderTreeView.php:220
‪TYPO3\CMS\Filelist\FileListFolderTree\wrapTitle
‪string wrapTitle($title, $folderObject, $bank=0)
Definition: FileListFolderTree.php:51
‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView\$title
‪string $title
Definition: AbstractTreeView.php:73
‪TYPO3\CMS\Filelist
‪TYPO3\CMS\Backend\Tree\View\AbstractTreeView\$bank
‪int $bank
Definition: AbstractTreeView.php:240
‪TYPO3\CMS\Backend\Tree\View\FolderTreeView
Definition: FolderTreeView.php:36
‪TYPO3\CMS\Filelist\FileListFolderTree\$ext_IconMode
‪bool $ext_IconMode
Definition: FileListFolderTree.php:26
‪TYPO3\CMS\Filelist\FileListFolderTree\wrapIcon
‪string wrapIcon($theFolderIcon, $folderObject)
Definition: FileListFolderTree.php:35