TYPO3 CMS  TYPO3_7-6
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 
22 {
26  public $ext_IconMode;
27 
35  public function wrapIcon($theFolderIcon, $folderObject)
36  {
37  $theFolderIcon = parent::wrapIcon($theFolderIcon, $folderObject);
38  // Wrap icon in a drag/drop span.
39  return '<span class="list-tree-icon dragIcon" id="dragIconID_' . $this->getJumpToParam($folderObject) . '">' . $theFolderIcon . '</span> ';
40  }
41 
51  public function wrapTitle($title, $folderObject, $bank = 0)
52  {
53  $theFolderTitle = parent::wrapTitle($title, $folderObject, $bank);
54  // Wrap title in a drag/drop span.
55  return '<span class="list-tree-title dragTitle" id="dragTitleID_' . $this->getJumpToParam($folderObject) . '">' . $theFolderTitle . '</span>';
56  }
57 }
wrapTitle($title, $folderObject, $bank=0)
wrapIcon($theFolderIcon, $folderObject)