| [ Index ] |
|
Code source de Typo3 4.1.3 |
[Code source] [Imprimer] [Statistiques]
Generate a page-tree, non-browsable. $Id: class.t3lib_pagetree.php 809 2005-10-04 12:03:20Z typo3 $ Revised for TYPO3 3.6 November/2003 by Kasper Skaarhoj
| Author: | Kasper Skaarhoj <kasperYYYY@typo3.com> |
| Poids: | 147 lignes (5 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
t3lib_pageTree:: (4 méthodes):
init()
expandNext()
PMicon()
initializePositionSaving()
Classe: t3lib_pageTree - X-Ref
Class for generating a page tree.| init($clause='') X-Ref |
| Init function REMEMBER to feed a $clause which will filter out non-readable pages! param: string Part of where query which will filter out non-readable pages. return: void |
| expandNext($id) X-Ref |
| Returns true/false if the next level for $id should be expanded - and all levels should, so we always return 1. param: integer ID (uid) to test for (see extending classes where this is checked againts session data) return: boolean |
| PMicon($row,$a,$c,$nextCount,$exp) X-Ref |
| Generate the plus/minus icon for the browsable tree. In this case, there is no plus-minus icon displayed. param: array record for the entry param: integer The current entry number param: integer The total number of entries. If equal to $a, a 'bottom' element is returned. param: integer The number of sub-elements to the current element. param: boolean The element was expanded to render subelements if this flag is set. return: string Image tag with the plus/minus icon. |
| initializePositionSaving() X-Ref |
| 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. return: void |
| Généré le : Sun Nov 25 17:13:16 2007 | par Balluche grâce à PHPXref 0.7 |
|