PHP Classes

File: README.txt

Recommend this page to a friend!
  Classes of Andrea Del Santo  >  MG's TreeView  >  README.txt  >  Download  
File: README.txt
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: 4 years ago
Size: 412 bytes


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


to remove by querying the nodelist:

$tree->RemoveNode("Node 1");