Documentation TYPO3 par Ameos

localFolderTree Class Reference

Inheritance diagram for localFolderTree:
[legend]
Collaboration diagram for localFolderTree:
[legend]
List of all members.

Public Member Functions

 localFolderTree ()
 wrapTitle ($title, $v)
 ext_isLinkable ($v)
 PM_ATagWrap ($icon, $cmd, $bMark='')
 printTree ($treeArr='')
 localFolderTree ($BE_USER, $FILEMOUNTS='')
 wrapTitle ($str, $row)
 PM_ATagWrap ($icon, $cmd, $bMark='')
 wrapIcon ($icon, $row)
 initializePositionSaving ()

Public Attributes

 $ext_IconMode = 1
 $expandFirst = 0
 $expandAll = 0

Detailed Description

Definition at line 463 of file class.browse_links.php.


Member Function Documentation

localFolderTree::localFolderTree (  ) 

Initializes the script path

Returns:
void

Definition at line 472 of file class.browse_links.php.

References t3lib_div::getIndpEnv(), and t3lib_folderTree::t3lib_folderTree().

localFolderTree::wrapTitle ( title,
v 
)

Wrapping the title in a link, if applicable.

Parameters:
string Title, ready for output.
array The "record"
Returns:
string Wrapping title string.

Reimplemented in TBE_FolderTree, and tx_rtehtmlarea_folderTree.

Definition at line 484 of file class.browse_links.php.

References ext_isLinkable().

localFolderTree::ext_isLinkable ( v  ) 

Returns true if the input "record" contains a folder which can be linked.

Parameters:
array Array with information about the folder element. Contains keys like title, uid, path, _title
Returns:
boolean True is returned if the path is found in the web-part of the server and is NOT a recycler or temp folder

Reimplemented in TBE_FolderTree.

Definition at line 499 of file class.browse_links.php.

References t3lib_BEfunc::getPathType_web_nonweb().

Referenced by tx_rtehtmlarea_folderTree::printTree(), printTree(), tx_rtehtmlarea_folderTree::wrapTitle(), and wrapTitle().

localFolderTree::PM_ATagWrap ( icon,
cmd,
bMark = '' 
)

Wrap the plus/minus icon in a link

Parameters:
string HTML string to wrap, probably an image tag.
string Command for 'PM' get var
boolean If set, the link will have a anchor point (=$bMark) and a name attribute (=$bMark)
Returns:
string Link-wrapped input string private

Reimplemented from t3lib_treeView.

Reimplemented in printAllFolderTree.

Definition at line 516 of file class.browse_links.php.

localFolderTree::printTree ( treeArr = ''  ) 

Create the folder navigation tree in HTML

Parameters:
mixed Input tree array. If not array, then $this->tree is used.
Returns:
string HTML output of the tree.

Reimplemented from t3lib_treeView.

Reimplemented in tx_rtehtmlarea_folderTree.

Definition at line 531 of file class.browse_links.php.

References ext_isLinkable(), and t3lib_div::fixed_lgd_cs().

localFolderTree::localFolderTree ( BE_USER,
FILEMOUNTS = '' 
)

Constructor for the local folder tree.

Parameters:
object Local backend user (not the GLOBALS[] backend user!!)
array Filemounts for the backend user.
Returns:
void

Definition at line 384 of file index.php.

References t3lib_treeView::$BE_USER, and t3lib_treeView::init().

localFolderTree::wrapTitle ( str,
row 
)

Wraps the title.

Parameters:
string [See parent]
array [See parent]
Returns:
string

Reimplemented in TBE_FolderTree, and tx_rtehtmlarea_folderTree.

Definition at line 399 of file index.php.

localFolderTree::PM_ATagWrap ( icon,
cmd,
bMark = '' 
)

Wraps the plus/minus icon - in this case we just return blank which means we STRIP AWAY the plus/minus icon!

Parameters:
string [See parent]
string [See parent]
string [See parent]
Returns:
string

Reimplemented from t3lib_treeView.

Reimplemented in printAllFolderTree.

Definition at line 411 of file index.php.

localFolderTree::wrapIcon ( icon,
row 
)

Wrapping the icon of the element/page. Normally a click menu is wrapped around the icon, but in this case only a title parameter is set.

Parameters:
string Icon image tag.
array Row.
Returns:
string Icon with title attribute added.

Reimplemented from t3lib_folderTree.

Definition at line 422 of file index.php.

References t3lib_treeView::$title, and t3lib_treeView::addTagAttributes().

localFolderTree::initializePositionSaving (  ) 

This will make sure that no position data is acquired from the BE_USER uc variable.

Returns:
void

Reimplemented from t3lib_folderTree.

Definition at line 435 of file index.php.


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


Généré par L'expert TYPO3 avec  doxygen 1.4.6