TYPO3 CMS  TYPO3_6-2
FileListFolderTree.php
Go to the documentation of this file.
1 <?php
2 namespace TYPO3\CMS\Filelist;
3 
25 
29  public $ext_IconMode;
30 
39  public function wrapIcon($theFolderIcon, \TYPO3\CMS\Core\Resource\Folder $folderObject) {
40  $theFolderIcon = parent::wrapIcon($theFolderIcon, $folderObject);
41  // Wrap icon in a drag/drop span.
42  return '<span class="dragIcon" id="dragIconID_' . $this->getJumpToParam($folderObject) . '">' . $theFolderIcon . '</span>';
43  }
44 
55  public function wrapTitle($title, \TYPO3\CMS\Core\Resource\Folder $folderObject, $bank = 0) {
56  $theFolderTitle = parent::wrapTitle($title, $folderObject, $bank);
57  // Wrap title in a drag/drop span.
58  return '<span class="dragTitle" id="dragTitleID_' . $this->getJumpToParam($folderObject) . '">' . $theFolderTitle . '</span>';
59  }
60 
61 }
wrapIcon($theFolderIcon, \TYPO3\CMS\Core\Resource\Folder $folderObject)
wrapTitle($title, \TYPO3\CMS\Core\Resource\Folder $folderObject, $bank=0)
getJumpToParam(\TYPO3\CMS\Core\Resource\Folder $folderObject)