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

List of all members.

Public Member Functions

 init ($clause= '')
 getTitleAttrib ($row)
 wrapIcon ($icon, $row)
 getTitleStr ($row, $titleLen=30)
 wrapStop ($str, $row)

Detailed Description

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


Member Function Documentation

t3lib_browseTree::getTitleAttrib ( row)

Creates title attribute content for pages. Uses API function in t3lib_BEfunc which will retrieve lots of useful information for pages.

Parameters:
arrayThe table row.
Returns:
string

Reimplemented from t3lib_treeView.

Definition at line 116 of file class.t3lib_browsetree.php.

References $row, and t3lib_BEfunc\titleAttribForPages().

Referenced by wrapIcon().

t3lib_browseTree::getTitleStr ( row,
titleLen = 30 
)

Returns the title for the input record. If blank, a "no title" label (localized) will be returned. Do NOT htmlspecialchar the string from this function - has already been done.

Parameters:
arrayThe input row array (where the key "title" is used for the title)
integerTitle length (30)
Returns:
string The title.

Reimplemented from t3lib_treeView.

Definition at line 150 of file class.t3lib_browsetree.php.

t3lib_browseTree::init ( clause = '')

Initialize, setting what is necessary for browsing pages. Using the current user.

Parameters:
stringAdditional clause for selecting pages.
Returns:
void

Definition at line 71 of file class.t3lib_browsetree.php.

References t3lib_treeView\$clause, $GLOBALS, t3lib_extMgm\isLoaded(), and t3lib_treeView\setTreeName().

Referenced by localPageTree\ext_tree(), localPageTree\localPageTree(), and webPageTree\webPageTree().

t3lib_browseTree::wrapIcon ( icon,
row 
)

Wrapping the image tag, $icon, for the row, $row (except for mount points)

Parameters:
stringThe image tag for the icon
arrayThe row for the current element
Returns:
string The processed icon input value. private

Reimplemented from t3lib_treeView.

Reimplemented in localPageTree, printAllPageTree, localPageTree, localPageTree, localPageTree, and localPageTree.

Definition at line 128 of file class.t3lib_browsetree.php.

References $GLOBALS, $row, t3lib_treeView\addTagAttributes(), t3lib_treeView\getId(), t3lib_treeView\getJumpToParam(), and getTitleAttrib().

t3lib_browseTree::wrapStop ( str,
row 
)

Adds a red "+" to the input string, $str, if the field "php_tree_stop" in the $row (pages) is set

Parameters:
stringInput string, like a page title for the tree
arrayrecord row with "php_tree_stop" field
Returns:
string Modified string private

Reimplemented from t3lib_treeView.

Reimplemented in webPageTree.

Definition at line 171 of file class.t3lib_browsetree.php.


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