Documentation TYPO3 par Ameos

localPageTree Class Reference

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

Public Member Functions

 localPageTree ()
 wrapTitle ($title, $v, $ext_pArrPages='')
 printTree ($treeArr='')
 ext_isLinkable ($doktype, $uid)
 PM_ATagWrap ($icon, $cmd, $bMark='')
 wrapIcon ($icon, $row)
 wrapIcon ($icon, $row)
 expandNext ($id)
 wrapIcon ($icon, $row)
 localPageTree ($BE_USER, $WEBMOUNTS='')
 ext_permsC ()
 wrapTitle ($str, $row)
 PM_ATagWrap ($icon, $cmd, $bMark='')
 wrapIcon ($icon, $row)
 initializePositionSaving ()
 localPageTree ()
 wrapTitle ($title, $v)
 PM_ATagWrap ($icon, $cmd, $bMark='')
 wrapIcon ($icon, $row)
 permsC ()
 ext_tree ($pid, $clause='')

Public Attributes

 $expandFirst = 0
 $expandAll = 0

Detailed Description

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


Member Function Documentation

localPageTree::localPageTree (  ) 

Constructor. Just calling init()

Returns:
void

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

localPageTree::wrapTitle ( title,
v,
ext_pArrPages = '' 
)

Wrapping the title in a link, if applicable.

Parameters:
string Title, (must be ready for output, that means it must be htmlspecialchars()'ed).
array The record
boolean (Ignore)
Returns:
string Wrapping title string.

Reimplemented from t3lib_treeView.

Reimplemented in TBE_PageTree.

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

Referenced by tx_rtehtmlarea_pageTree::printTree().

localPageTree::printTree ( treeArr = ''  ) 

Create the page navigation tree in HTML

Parameters:
array Tree array
Returns:
string HTML output.

Reimplemented from t3lib_treeView.

Reimplemented in tx_rtehtmlarea_pageTree.

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

localPageTree::ext_isLinkable ( doktype,
uid 
)

Returns true if a doktype can be linked.

Parameters:
integer Doktype value to test
integer uid to test.
Returns:
boolean

Reimplemented in TBE_PageTree.

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

Referenced by tx_rtehtmlarea_pageTree::printTree().

localPageTree::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

Reimplemented from t3lib_treeView.

Reimplemented in printAllPageTree.

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

Referenced by ext_tree().

localPageTree::wrapIcon ( icon,
row 
)

Wrapping the image tag, $icon, for the row, $row

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

Reimplemented from t3lib_browseTree.

Reimplemented in printAllPageTree.

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

Referenced by ext_tree().

localPageTree::wrapIcon ( icon,
row 
)

Inserting uid-information in title-text for an icon

Parameters:
string Icon image
array Item row
Returns:
string Wrapping icon image.

Reimplemented from t3lib_browseTree.

Reimplemented in printAllPageTree.

Definition at line 99 of file db_new.php.

References t3lib_treeView::addTagAttributes().

localPageTree::expandNext ( id  ) 

Determines whether to expand a branch or not. Here the branch is expanded if the current id matches the global id for the listing/new

Parameters:
integer The ID (page id) of the element
Returns:
boolean Returns true if the IDs matches

Reimplemented from t3lib_pageTree.

Definition at line 110 of file db_new.php.

localPageTree::wrapIcon ( icon,
row 
)

Inserting uid-information in title-text for an icon

Parameters:
string Icon image
array Item row
Returns:
string Wrapping icon image.

Reimplemented from t3lib_browseTree.

Reimplemented in printAllPageTree.

Definition at line 105 of file move_el.php.

References t3lib_treeView::addTagAttributes().

localPageTree::localPageTree ( BE_USER,
WEBMOUNTS = '' 
)

Constructor for the local page tree.

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

Definition at line 136 of file index.php.

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

localPageTree::ext_permsC (  ) 

Return select permissions.

Returns:
string WHERE query part.

Reimplemented in printAllPageTree.

Definition at line 150 of file index.php.

Referenced by localPageTree().

localPageTree::wrapTitle ( str,
row 
)

Wraps the title.

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

Definition at line 161 of file index.php.

localPageTree::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 printAllPageTree.

Definition at line 173 of file index.php.

localPageTree::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_browseTree.

Reimplemented in printAllPageTree.

Definition at line 184 of file index.php.

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

localPageTree::initializePositionSaving (  ) 

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

Returns:
void

Reimplemented from t3lib_pageTree.

Definition at line 197 of file index.php.

localPageTree::localPageTree (  ) 

Initialization

Returns:
void

Definition at line 144 of file index.php.

References t3lib_browseTree::init().

localPageTree::wrapTitle ( title,
v 
)

Wrapping title from page tree.

Parameters:
string Title to wrap
mixed (See parent class)
Returns:
string Wrapped title

Definition at line 155 of file index.php.

References t3lib_treeView::$title.

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

Wrapping Plus/Minus icon

Parameters:
string Icon HTML
mixed (See parent class)
mixed (See parent class)
Returns:
string Icon HTML

Reimplemented from t3lib_treeView.

Reimplemented in printAllPageTree.

Definition at line 168 of file index.php.

localPageTree::wrapIcon ( icon,
row 
)

Wrapping Icon

Parameters:
string Icon HTML
array Record row (page)
Returns:
string Icon HTML

Reimplemented from t3lib_browseTree.

Reimplemented in printAllPageTree.

Definition at line 179 of file index.php.

localPageTree::permsC (  ) 

Select permissions

Returns:
string SQL where clause

Definition at line 188 of file index.php.

Referenced by ext_tree().

localPageTree::ext_tree ( pid,
clause = '' 
)

Tree rendering

Parameters:
integer PID value
string Additional where clause
Returns:
array Array of tree elements

Definition at line 199 of file index.php.

References t3lib_treeView::$clause, t3lib_div::_GP(), t3lib_iconWorks::getIconImage(), t3lib_treeView::getTree(), t3lib_browseTree::init(), t3lib_div::intExplode(), permsC(), PM_ATagWrap(), t3lib_treeView::reset(), t3lib_iconWorks::skinImg(), and wrapIcon().


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


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