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

 localFolderTree ()
 wrapIcon ($icon, &$row)
 wrapTitle ($title, $row, $bank=0)
 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 ()
 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 72 of file alt_file_navframe.php.


Constructor & Destructor Documentation

localFolderTree::localFolderTree  ) 
 

Calls init functions

Returns:
void

Definition at line 81 of file alt_file_navframe.php.

localFolderTree::localFolderTree  ) 
 

Initializes the script path

Returns:
void

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

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

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 388 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, and TBE_FolderTree.

Definition at line 445 of file browse_links.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 server and is NOT a recycler or temp folder

Reimplemented in TBE_FolderTree, and TBE_FolderTree.

Definition at line 501 of file class.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 439 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 462 of file browse_links.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 415 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 518 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.

Definition at line 477 of file browse_links.php.

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

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 533 of file class.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 426 of file index.php.

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

localFolderTree::wrapIcon icon,
&$  row
 

Wrapping icon in browse tree

Parameters:
string Icon IMG code
array Data row for element.
Returns:
string Page icon

Definition at line 92 of file alt_file_navframe.php.

References t3lib_treeView::addTagAttributes(), and t3lib_folderTree::getJumpToParam().

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 TBE_FolderTree.

Definition at line 430 of file browse_links.php.

References ext_isLinkable().

localFolderTree::wrapTitle str,
row
 

Wraps the title.

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

Reimplemented in TBE_FolderTree, and TBE_FolderTree.

Definition at line 403 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, and TBE_FolderTree.

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

References ext_isLinkable().

localFolderTree::wrapTitle title,
row,
bank = 0
 

Wrapping $title in a-tags.

Parameters:
string Title string
string Item record
integer Bank pointer (which mount point number)
Returns:
string private

Reimplemented from t3lib_folderTree.

Definition at line 121 of file alt_file_navframe.php.

References t3lib_treeView::$title, and t3lib_folderTree::getJumpToParam().


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


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6