Documentation TYPO3 par Ameos

t3lib_pageTree Class Reference

Inheritance diagram for t3lib_pageTree:

Inheritance graph
[legend]
Collaboration diagram for t3lib_pageTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 init ($clause='')
 expandNext ($id)
 PMicon ($row, $a, $c, $nextCount, $exp)
 initializePositionSaving ()

Public Attributes

 $fieldArray = Array('uid','title','doktype','php_tree_stop','t3ver_id','t3ver_state','t3ver_swapmode')
 $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id'
 $setRecs = 0

Detailed Description

Definition at line 78 of file class.t3lib_pagetree.php.


Member Function Documentation

t3lib_pageTree::expandNext id  ) 
 

Returns true/false if the next level for $id should be expanded - and all levels should, so we always return 1.

Parameters:
integer ID (uid) to test for (see extending classes where this is checked againts session data)
Returns:
boolean

Reimplemented from t3lib_treeView.

Reimplemented in localPageTree.

Definition at line 106 of file class.t3lib_pagetree.php.

t3lib_pageTree::init clause = ''  ) 
 

Init function REMEMBER to feed a $clause which will filter out non-readable pages!

Parameters:
string Part of where query which will filter out non-readable pages.
Returns:
void

Definition at line 90 of file class.t3lib_pagetree.php.

References t3lib_treeView::$clause, and t3lib_extMgm::isLoaded().

t3lib_pageTree::initializePositionSaving  ) 
 

Get stored tree structure AND updating it if needed according to incoming PM GET var.

  • Here we just set it to nothing since we want to just render the tree, nothing more.

Returns:
void private

Reimplemented from t3lib_treeView.

Reimplemented in localPageTree.

Definition at line 138 of file class.t3lib_pagetree.php.

t3lib_pageTree::PMicon row,
a,
c,
nextCount,
exp
 

Generate the plus/minus icon for the browsable tree. In this case, there is no plus-minus icon displayed.

Parameters:
array record for the entry
integer The current entry number
integer The total number of entries. If equal to $a, a 'bottom' element is returned.
integer The number of sub-elements to the current element.
boolean The element was expanded to render subelements if this flag is set.
Returns:
string Image tag with the plus/minus icon. private
See also:
t3lib_treeView::PMicon()

Reimplemented from t3lib_treeView.

Definition at line 123 of file class.t3lib_pagetree.php.


Member Data Documentation

t3lib_pageTree::$defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id'
 

List of other fields which are ALLOWED to set (here, based on the "pages" table!)

See also:
addField()

Reimplemented from t3lib_treeView.

Definition at line 80 of file class.t3lib_pagetree.php.

t3lib_pageTree::$fieldArray = Array('uid','title','doktype','php_tree_stop','t3ver_id','t3ver_state','t3ver_swapmode')
 

Default set of fields selected from the tree table. Make SURE that these fields names listed herein are actually possible to select from $this->table (if that variable is set to a TCA table name)

See also:
addField()

Reimplemented from t3lib_treeView.

Definition at line 79 of file class.t3lib_pagetree.php.

t3lib_pageTree::$setRecs = 0
 

If true, records as selected will be stored internally in the ->recs array

Reimplemented from t3lib_treeView.

Definition at line 81 of file class.t3lib_pagetree.php.


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


Généré par Les experts TYPO3 avec  doxygen 1.4.6