Documentation TYPO3 par Ameos |
Public Member Functions | |
filelistFolderTree () | |
wrapIcon ($icon, &$row) | |
wrapTitle ($title, $row, $bank=0) | |
printTree ($treeArr='') | |
PMicon ($row, $a, $c, $nextCount, $exp) | |
PMiconATagWrap ($icon, $cmd, $isExpand=true) | |
getBrowsableTree () | |
getFolderTree ($files_path, $depth=999) | |
Public Attributes | |
$ext_IconMode | |
$ajaxStatus = false |
Definition at line 67 of file class.filelistfoldertree.php.
filelistFolderTree::filelistFolderTree | ( | ) |
filelistFolderTree::wrapIcon | ( | $ | icon, | |
&$ | row | |||
) |
Wrapping icon in browse tree
string | Icon IMG code | |
array | Data row for element. |
Definition at line 88 of file class.filelistfoldertree.php.
References t3lib_treeView::addTagAttributes(), and t3lib_folderTree::getJumpToParam().
Referenced by getBrowsableTree(), and getFolderTree().
filelistFolderTree::wrapTitle | ( | $ | title, | |
$ | row, | |||
$ | bank = 0 | |||
) |
Wrapping $title in a-tags.
string | Title string | |
string | Item record | |
integer | Bank pointer (which mount point number) |
Reimplemented from t3lib_folderTree.
Definition at line 114 of file class.filelistfoldertree.php.
References t3lib_treeView::$title, and t3lib_folderTree::getJumpToParam().
Referenced by printTree().
filelistFolderTree::printTree | ( | $ | treeArr = '' |
) |
Compiles the HTML code for displaying the structure found inside the ->tree array
array | "tree-array" - if blank string, the internal ->tree array is used. |
Reimplemented from t3lib_treeView.
Definition at line 135 of file class.filelistfoldertree.php.
References t3lib_div::_GP(), t3lib_folderTree::getTitleStr(), and wrapTitle().
Referenced by getBrowsableTree().
filelistFolderTree::PMicon | ( | $ | row, | |
$ | a, | |||
$ | c, | |||
$ | nextCount, | |||
$ | exp | |||
) |
Generate the plus/minus icon for the browsable tree.
array | record for the entry | |
integer | The current entry number | |
integer | The total number of entries. If equal to $a, a "bottom" element is returned. | |
integer | The number of sub-elements to the current element. | |
boolean | The element was expanded to render subelements if this flag is set. |
Reimplemented from t3lib_treeView.
Definition at line 251 of file class.filelistfoldertree.php.
References PMiconATagWrap().
Referenced by getFolderTree().
filelistFolderTree::PMiconATagWrap | ( | $ | icon, | |
$ | cmd, | |||
$ | isExpand = true | |||
) |
Wrap the plus/minus icon in a link
string | HTML string to wrap, probably an image tag. | |
string | Command for 'PM' get var |
Definition at line 272 of file class.filelistfoldertree.php.
Referenced by PMicon().
filelistFolderTree::getBrowsableTree | ( | ) |
Will create and return the HTML code for a browsable tree of folders. Is based on the mounts found in the internal array ->MOUNTS (set in the constructor)
Reimplemented from t3lib_folderTree.
Definition at line 290 of file class.filelistfoldertree.php.
References getFolderTree(), t3lib_folderTree::initializePositionSaving(), t3lib_div::md5int(), t3lib_treeView::PM_ATagWrap(), printTree(), t3lib_treeView::reset(), t3lib_iconWorks::skinImg(), and wrapIcon().
filelistFolderTree::getFolderTree | ( | $ | files_path, | |
$ | depth = 999 | |||
) |
Fetches the data for the tree
string | Abs file path | |
integer | Max depth (recursivity limit) |
Definition at line 350 of file class.filelistfoldertree.php.
References t3lib_treeView::$title, t3lib_treeView::expandNext(), t3lib_div::get_dirs(), t3lib_folderTree::getCount(), t3lib_div::md5int(), PMicon(), t3lib_iconWorks::skinImg(), and wrapIcon().
Referenced by getBrowsableTree().