Public Member Functions | |
init ($clause='') | |
Init function REMEMBER to feed a $clause which will filter out non-readable pages! | |
expandNext ($id) | |
Returns true/false if the next level for $id should be expanded - and all levels should, so we always return 1. | |
PMicon ($row, $a, $c, $nextCount, $exp) | |
Generate the plus/minus icon for the browsable tree. | |
initializePositionSaving () | |
Get stored tree structure AND updating it if needed according to incoming PM GET var. | |
Public Attributes | |
$fieldArray = Array('uid','title','doktype','php_tree_stop') | |
$defaultList = 'uidpidtstampsortingdeletedperms_useridperms_groupidperms_userperms_groupperms_everybodycrdatecruser_id' | |
$setRecs = 0 |
|
Returns true/false if the next level for $id should be expanded - and all levels should, so we always return 1.
Reimplemented in localPageTree. Definition at line 106 of file class.t3lib_pagetree.php. 00106 {
00107 return 1;
00108 }
|
|
Init function REMEMBER to feed a $clause which will filter out non-readable pages!
Definition at line 90 of file class.t3lib_pagetree.php. References t3lib_extMgm::isLoaded(), and table(). 00090 { 00091 parent::init(' AND NOT deleted '.$clause, 'sorting'); 00092 00093 if (t3lib_extMgm::isLoaded('cms')) { 00094 $this->fieldArray=array_merge($this->fieldArray,array('hidden','starttime','endtime','fe_group','module','extendToSubpages')); 00095 } 00096 $this->table='pages'; 00097 $this->treeName='pages'; 00098 }
|
|
Get stored tree structure AND updating it if needed according to incoming PM GET var.
Definition at line 138 of file class.t3lib_pagetree.php. 00138 { 00139 $this->stored=array(); 00140 }
|
|
Generate the plus/minus icon for the browsable tree. In this case, there is no plus-minus icon displayed.
Definition at line 123 of file class.t3lib_pagetree.php. References $a. 00123 { 00124 $PM = 'join'; 00125 $BTM = ($a==$c)?'bottom':''; 00126 $icon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/'.$PM.$BTM.'.gif','width="18" height="16"').' alt="" />'; 00127 return $icon; 00128 }
|
|
Definition at line 80 of file class.t3lib_pagetree.php. |
|
Definition at line 79 of file class.t3lib_pagetree.php. |
|
Definition at line 81 of file class.t3lib_pagetree.php. |