[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Pear/DB/NestedSet/ -> TreeMenu.php (sommaire)

A helper class to translate the data from a nested set table into a HTML_TreeMenu object so that it can be used to create a dynamic tree menu using the PEAR HTML_TreeMenu class.

Author: Jason Rust <jrust@rustyparts.com>
Version: $Revision: 1.19 $
Poids: 258 lignes (11 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

DB_NestedSet_TreeMenu:: (5 méthodes):
  printTree()
  printListbox()
  tree_toHTML()
  listbox_toHTML()
  _setParamDefaults()


Classe: DB_NestedSet_TreeMenu  - X-Ref

DB_NestedSet_TreeMenu

printTree()   X-Ref
Pas de description

printListbox()   X-Ref
Print's a listbox representing the current tree


tree_toHTML()   X-Ref
Returns the HTML for the DHTML-menu. This method can be
used instead of printMenu() to use the menu system
with a template system.

author: Emanuel Zueger
return: string The HTML for the menu

listbox_toHTML()   X-Ref
Returns the HTML for the listbox. This method can be
used instead of printListbox() to use the menu system
with a template system.

author: Emanuel Zueger
return: string The HTML for the listbox

_setParamDefaults(& $params)   X-Ref
DB_NestedSet_TreeMenu::_setParamDefaults()

param: $params Param array passed from userland
return: bool True on completion



Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7