Documentation TYPO3 par Ameos

localPageTree Class Reference

Inheritance diagram for localPageTree:

Inheritance graph
[legend]
Collaboration diagram for localPageTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 localPageTree ()
 wrapIcon ($icon, &$row)
 wrapStop ($str, $row)
 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)
 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)
 wrapIcon ($icon, $row)

Public Attributes

 $ext_showPageId
 $ext_IconMode
 $expandFirst = 0
 $expandAll = 0

Detailed Description

Definition at line 77 of file alt_db_navframe.php.


Constructor & Destructor Documentation

localPageTree::localPageTree  ) 
 

Calls init functions

Returns:
void

Definition at line 87 of file alt_db_navframe.php.

References t3lib_browseTree::init().

localPageTree::localPageTree  ) 
 

Constructor. Just calling init()

Returns:
void

Definition at line 261 of file browse_links.php.

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

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

localPageTree::localPageTree  ) 
 

Returns:
[type] ...

Definition at line 92 of file index.php.

References t3lib_browseTree::init().


Member Function Documentation

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

localPageTree::ext_permsC  ) 
 

Return select permissions.

Returns:
string WHERE query part.

Reimplemented in printAllPageTree.

Definition at line 140 of file index.php.

Referenced by localPageTree().

localPageTree::ext_tree pid  ) 
 

[Describe function...]

Parameters:
[type] $pid: ...
Returns:
[type] ...

Definition at line 146 of file index.php.

References t3lib_div::_GP(), t3lib_treeView::getTree(), t3lib_browseTree::init(), t3lib_div::intExplode(), permsC(), PM_ATagWrap(), t3lib_treeView::reset(), and wrapIcon().

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

localPageTree::permsC  ) 
 

[Describe function...]

Returns:
[type] ...

Definition at line 136 of file index.php.

Referenced by ext_tree().

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

[Describe function...]

Parameters:
[type] $icon: ...
[type] $cmd: ...
[type] $bMark: ...
Returns:
[type] ...

Reimplemented from t3lib_treeView.

Reimplemented in printAllPageTree.

Definition at line 116 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 163 of file index.php.

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

Referenced by ext_tree().

localPageTree::printTree treeArr = ''  ) 
 

Create the page navigation tree in HTML

Parameters:
array Tree array
Returns:
string HTML output.

Reimplemented from t3lib_treeView.

Definition at line 290 of file browse_links.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::wrapIcon icon,
row
 

[Describe function...]

Parameters:
[type] $icon: ...
[type] $row: ...
Returns:
[type] ...

Reimplemented from t3lib_browseTree.

Reimplemented in printAllPageTree.

Definition at line 127 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 174 of file index.php.

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

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

localPageTree::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 98 of file alt_db_navframe.php.

References t3lib_treeView::addTagAttributes(), t3lib_treeView::getJumpToParam(), and t3lib_BEfunc::isRecordLocked().

Referenced by ext_tree().

localPageTree::wrapStop str,
row
 

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

Parameters:
string Input string, like a page title for the tree
array record row with "php_tree_stop" field
Returns:
string Modified string private

Reimplemented from t3lib_treeView.

Definition at line 136 of file alt_db_navframe.php.

localPageTree::wrapTitle title,
v
 

[Describe function...]

Parameters:
[type] $title: ...
[type] $v: ...
Returns:
[type] ...

Definition at line 103 of file index.php.

References t3lib_treeView::$title.

localPageTree::wrapTitle str,
row
 

Wraps the title.

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

Definition at line 151 of file index.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 275 of file browse_links.php.


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


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