Documentation TYPO3 par Ameos

localFolderTree Class Reference

Inheritance diagram for localFolderTree:

Inheritance graph
[legend]
Collaboration diagram for localFolderTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 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 ()
 wrapTitle ($title, $v)
 ext_isLinkable ($v)
 PM_ATagWrap ($icon, $cmd, $bMark='')
 printTree ($treeArr='')

Public Attributes

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

Detailed Description

Definition at line 454 of file browse_links.php.


Constructor & Destructor Documentation

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 374 of file index.php.

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


Member Function Documentation

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 the server and is NOT a recycler or temp folder

Reimplemented in TBE_FolderTree.

Definition at line 115 of file rte_select_image.php.

References t3lib_BEfunc::getPathType_web_nonweb().

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 the server and is NOT a recycler or temp folder

Reimplemented in TBE_FolderTree.

Definition at line 479 of file browse_links.php.

References t3lib_BEfunc::getPathType_web_nonweb().

Referenced by printTree(), and wrapTitle().

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 425 of file index.php.

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 134 of file rte_select_image.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 401 of file index.php.

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 496 of file browse_links.php.

localFolderTree::printTree treeArr = ''  ) 
 

Print tree.

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

Reimplemented from t3lib_treeView.

Definition at line 149 of file rte_select_image.php.

References t3lib_div::fixed_lgd().

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.

Definition at line 511 of file browse_links.php.

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

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 412 of file index.php.

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

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.

Definition at line 100 of file rte_select_image.php.

References ext_isLinkable().

localFolderTree::wrapTitle str,
row
 

Wraps the title.

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

Reimplemented in TBE_FolderTree.

Definition at line 389 of file index.php.

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.

Definition at line 464 of file browse_links.php.

References ext_isLinkable().


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


Généré par TYPO3 Ameos avec  doxygen 1.4.6