TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
filelistFolderTree Class Reference
Inheritance diagram for filelistFolderTree:
Inheritance graph
[legend]
Collaboration diagram for filelistFolderTree:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 filelistFolderTree ()
 wrapIcon ($theFolderIcon, &$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, $type='')

Public Attributes

 $ext_IconMode
 $ajaxStatus = false

Detailed Description

Definition at line 62 of file class.filelistfoldertree.php.


Member Function Documentation

filelistFolderTree::filelistFolderTree ( )

Calls init functions

Returns:
void

Definition at line 72 of file class.filelistfoldertree.php.

References t3lib_folderTree\t3lib_folderTree().

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)

Returns:
string HTML code for the browsable tree

Reimplemented from t3lib_folderTree.

Definition at line 282 of file class.filelistfoldertree.php.

filelistFolderTree::getFolderTree ( files_path,
depth = 999,
type = '' 
)

Fetches the data for the tree

Parameters:
stringAbs file path
integerMax depth (recursivity limit)
Returns:
integer The count of items on the level
See also:
getBrowsableTree()

Definition at line 362 of file class.filelistfoldertree.php.

References $GLOBALS, $row, t3lib_div\get_dirs(), t3lib_BEfunc\getPathType_web_nonweb(), t3lib_iconWorks\getSpriteIcon(), t3lib_div\md5int(), and t3lib_iconWorks\skinImg().

filelistFolderTree::PMicon ( row,
a,
c,
nextCount,
exp 
)

Generate the plus/minus icon for the browsable tree.

Parameters:
arrayrecord for the entry
integerThe current entry number
integerThe total number of entries. If equal to $a, a "bottom" element is returned.
integerThe number of sub-elements to the current element.
booleanThe element was expanded to render subelements if this flag is set.
Returns:
string Image tag with the plus/minus icon. private
See also:
t3lib_pageTree::PMicon()

Reimplemented from t3lib_treeView.

Definition at line 243 of file class.filelistfoldertree.php.

References $row.

filelistFolderTree::PMiconATagWrap ( icon,
cmd,
isExpand = true 
)

Wrap the plus/minus icon in a link

Parameters:
stringHTML string to wrap, probably an image tag.
stringCommand for 'PM' get var
Returns:
string Link-wrapped input string private

Definition at line 264 of file class.filelistfoldertree.php.

filelistFolderTree::printTree ( treeArr = '')

Compiles the HTML code for displaying the structure found inside the ->tree array

Parameters:
array"tree-array" - if blank string, the internal ->tree array is used.
Returns:
string The HTML code for the tree

Reimplemented from t3lib_treeView.

Definition at line 127 of file class.filelistfoldertree.php.

filelistFolderTree::wrapIcon ( theFolderIcon,
&$  row 
)

Wrapping icon in browse tree

Parameters:
stringIcon IMG code
arrayData row for element.
Returns:
string Page icon

Definition at line 83 of file class.filelistfoldertree.php.

References $GLOBALS, and $row.

filelistFolderTree::wrapTitle ( title,
row,
bank = 0 
)

Wrapping $title in a-tags.

Parameters:
stringTitle string
stringItem record
integerBank pointer (which mount point number)
Returns:
string private

Reimplemented from t3lib_folderTree.

Definition at line 106 of file class.filelistfoldertree.php.


Member Data Documentation

filelistFolderTree::$ajaxStatus = false

Definition at line 65 of file class.filelistfoldertree.php.

filelistFolderTree::$ext_IconMode

Reimplemented from t3lib_treeView.

Definition at line 64 of file class.filelistfoldertree.php.


The documentation for this class was generated from the following file: