[ Index ]
 

Code source de Typo3 4.1.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/t3lib/ -> class.t3lib_browsetree.php (sommaire)

Generate a page-tree, browsable. $Id: class.t3lib_browsetree.php 1798 2006-11-17 18:43:00Z mundaun $ Revised for TYPO3 3.6 November/2003 by Kasper Skaarhoj

Author: Kasper Skaarhoj <kasperYYYY@typo3.com>
Poids: 172 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

t3lib_browseTree:: (4 méthodes):
  init()
  getTitleAttrib()
  wrapIcon()
  getTitleStr()


Classe: t3lib_browseTree  - X-Ref

Extension class for the t3lib_treeView class, specially made for browsing pages

init($clause='')   X-Ref
Initialize, setting what is necessary for browsing pages.
Using the current user.

param: string        Additional clause for selecting pages.
return: void

getTitleAttrib($row)   X-Ref
Creates title attribute content for pages.
Uses API function in t3lib_BEfunc which will retrieve lots of useful information for pages.

param: array        The table row.
return: string

wrapIcon($icon,$row)   X-Ref
Wrapping the image tag, $icon, for the row, $row (except for mount points)

param: string        The image tag for the icon
param: array        The row for the current element
return: string        The processed icon input value.

getTitleStr($row,$titleLen=30)   X-Ref
Returns the title for the input record. If blank, a "no title" labele (localized) will be returned.
Do NOT htmlspecialchar the string from this function - has already been done.

param: array        The input row array (where the key "title" is used for the title)
param: integer        Title length (30)
return: string        The title.



Généré le : Sun Nov 25 17:13:16 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics