Solutions Open Source

Référence de la classe t3lib_folderTree

Graphe d'héritage de t3lib_folderTree:

Inheritance graph
[légende]
Graphe de collaboration de t3lib_folderTree:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 t3lib_folderTree ()
 wrapIcon ($icon, $row)
 wrapTitle ($title, $row, $bank=0)
 getId ($v)
 getJumpToParam ($v)
 getTitleStr ($row, $titleLen=30)
 getBrowsableTree ()
 getFolderTree ($files_path, $depth=999, $depthData='')
 getCount ($files_path)
 initializePositionSaving ()


Documentation des fonctions membres

t3lib_folderTree::t3lib_folderTree (  ) 

Constructor function of the class

Renvoie:
void

t3lib_folderTree::wrapIcon ( icon,
row 
)

Wrapping the folder icon

Paramètres:
string The image tag for the icon
array The row for the current element
Renvoie:
string The processed icon input value. private

Réimplémentée à partir de t3lib_treeView.

Réimplémentée dans localFolderTree.

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

Wrapping $title in a-tags.

Paramètres:
string Title string
string Item record
integer Bank pointer (which mount point number)
Renvoie:
string private

Réimplémentée à partir de t3lib_treeView.

Réimplémentée dans filelistFolderTree.

t3lib_folderTree::getId ( v  ) 

Returns the id from the record - for folders, this is an md5 hash.

Paramètres:
array Record array
Renvoie:
integer The "uid" field value.

Réimplémentée à partir de t3lib_treeView.

t3lib_folderTree::getJumpToParam ( v  ) 

Returns jump-url parameter value.

Paramètres:
array The record array.
Renvoie:
string The jump-url parameter.

Réimplémentée à partir de t3lib_treeView.

t3lib_folderTree::getTitleStr ( row,
titleLen = 30 
)

Returns the title for the input record. If blank, a "no title" labele (localized) will be returned. '_title' is used for setting an alternative title for folders.

Paramètres:
array The input row array (where the key "_title" is used for the title)
integer Title length (30)
Renvoie:
string The title.

Réimplémentée à partir de t3lib_treeView.

t3lib_folderTree::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)

Renvoie:
string HTML code for the browsable tree

Réimplémentée à partir de t3lib_treeView.

Réimplémentée dans filelistFolderTree.

t3lib_folderTree::getFolderTree ( files_path,
depth = 999,
depthData = '' 
)

Fetches the data for the tree

Paramètres:
string Abs file path
integer Max depth (recursivity limit)
string HTML-code prefix for recursive calls.
Renvoie:
integer The count of items on the level
Voir également:
getBrowsableTree()

t3lib_folderTree::getCount ( files_path  ) 

Counts the number of directories in a file path.

Paramètres:
string File path.
Renvoie:
integer

Réimplémentée à partir de t3lib_treeView.

t3lib_folderTree::initializePositionSaving (  ) 

Get stored tree structure AND updating it if needed according to incoming PM GET var.

Renvoie:
void private

Réimplémentée à partir de t3lib_treeView.

Réimplémentée dans localFolderTree.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:42:15 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3