PHP Classes

File: README.txt

Recommend this page to a friend!
  Classes of Andrea Del Santo   MG's TreeView   ???   Download  
File: ???
Role: Documentation
Content type: text/plain
Description: Read me with documentation
Class: MG's TreeView
Display list of elements of nested menus
Author: By
Last change:
Date: 12 years ago
Size: 412 bytes
 

Contents

Class file image Download
To use the Tree View Control, just instance a new object with a string that stands for the title: $tree = new TreeView("The Title"); or initialize with an array: $array = array("Node 1", array("Subnode 1", "Subnode 2"), "Node 2"); $tree = new TreeView("TheTitle"); to add later a node, just $tree->AddNode($array_with_node); to remove by querying the nodelist: $tree->RemoveNode("Node 1");