Documentation TYPO3 par Ameos |
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 |
Definition at line 260 of file class.browse_links.php.
localPageTree::localPageTree | ( | ) |
Constructor. Just calling init()
Definition at line 267 of file class.browse_links.php.
localPageTree::wrapTitle | ( | $ | title, | |
$ | v, | |||
$ | ext_pArrPages = '' | |||
) |
Wrapping the title in a link, if applicable.
string | Title, (must be ready for output, that means it must be htmlspecialchars()'ed). | |
array | The record | |
boolean | (Ignore) |
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
array | Tree array |
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.
integer | Doktype value to test | |
integer | uid to test. |
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
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) |
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
string | The image tag for the icon | |
array | The row for the current element |
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
string | Icon image | |
array | Item row |
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
integer | The ID (page id) of the element |
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
string | Icon image | |
array | Item row |
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.
object | Local backend user (not the GLOBALS[] backend user!!) | |
array | Webmounts for the backend user. |
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.
Reimplemented in printAllPageTree.
Definition at line 150 of file index.php.
Referenced by localPageTree().
localPageTree::wrapTitle | ( | $ | str, | |
$ | row | |||
) |
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!
string | [See parent] | |
string | [See parent] | |
string | [See parent] |
Reimplemented from t3lib_treeView.
Reimplemented in printAllPageTree.
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.
string | Icon image tag. | |
array | Row. |
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.
Reimplemented from t3lib_pageTree.
localPageTree::localPageTree | ( | ) |
Initialization
Definition at line 144 of file index.php.
References t3lib_browseTree::init().
localPageTree::wrapTitle | ( | $ | title, | |
$ | v | |||
) |
Wrapping title from page tree.
string | Title to wrap | |
mixed | (See parent class) |
Definition at line 155 of file index.php.
References t3lib_treeView::$title.
localPageTree::PM_ATagWrap | ( | $ | icon, | |
$ | cmd, | |||
$ | bMark = '' | |||
) |
Wrapping Plus/Minus icon
string | Icon HTML | |
mixed | (See parent class) | |
mixed | (See parent class) |
Reimplemented from t3lib_treeView.
Reimplemented in printAllPageTree.
localPageTree::wrapIcon | ( | $ | icon, | |
$ | row | |||
) |
Wrapping Icon
string | Icon HTML | |
array | Record row (page) |
Reimplemented from t3lib_browseTree.
Reimplemented in printAllPageTree.
localPageTree::permsC | ( | ) |
Select permissions
Definition at line 188 of file index.php.
Referenced by ext_tree().
localPageTree::ext_tree | ( | $ | pid, | |
$ | clause = '' | |||
) |
Tree rendering
integer | PID value | |
string | Additional where clause |
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().