PHP Classes

TreeView: Display a collapsible tree of links

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 916 All time: 3,880 This week: 54Up
Version License PHP version Categories
panels-treeview 1.0GNU General Publi...4.5HTML, PHP 5
Description 

Author

This class can be used to display a collapsible tree of links.

It can generate HTML and Javascript to display a nested tree of folder that may contain entries with link to given URLs.

Picture of Michael J. Fuhrman
Name: Michael J. Fuhrman is available for providing paid consulting. Contact Michael J. Fuhrman .
Classes: 12 packages by
Country: United States United States
Age: ???
All time rank: 43754 in United States United States
Week rank: 227 Up23 in United States United States Up
Innovation award
Innovation award
Nominee: 3x

Details

============================= Audiences Experience Level Patrons reading this file should be comfortable using a text editor, managing files and be familiar with PHP. Some changes to file paths are required. ============================= Development Environment This code was originally developed using a Windows platform and may not work without modification on a Unix or Mac environment. ============================= Code Changes In order to use these files you are must adjust their include_once directives. Failure to do still will cause the example scripts to fail. You must also update the dirPath() function where ever found to provide the right depth for the files to locate the Web Root. ============================= Required Classes This class is specifically designed to use Ladder. Ladder manages the data that this class presents. This class will NOT work with standard SQL appliations. ============================= Recommended Directory Structure Web Root | - [Application] | - | - TreeView.php | - | - trgr_TreeView.js | - | - Install | - | - install.php [ from Ladder ] | - | - Images | - | - Ladder | - | - | - empty.gif | - | - | - file.gif | - | - | - folder_closed.gif | - | - | - folder_open.gif | - | - | - reference.gif | - | - | - plus.gif | - | - | - minus.gif | - | - Shared | - | - _app.inc | - | - styles.css | - | - functions.inc | - | - install_functions.inc | - | - GPL.txt | - | - | - | - Classes | - | - | - Ladder | - | - | - | - Ladder_Globals.cls | - | - | - | - Ladder_Folder.cls | - | - | - | - Ladder_Item.cls | - | - | - | - Ladder_Properties.cls | - | - | - | - Ladder_References.cls | - | - | - | - Panels | - | - | - Panel_Panel.cls | - | - | - Ladder | - | - | - | - Panel_Folder_DetailList.cls | - | - | - | - Panel_TreeView.cls

  Files folder image Files (14)  
File Role Description
Accessible without login Image file empty.gif Icon used as a spacer
Accessible without login Image file file.gif Icon displays a file image
Accessible without login Image file folder_closed.gif Icon displays a Folder that is closed
Accessible without login Image file folder_open.gif Icon displays a Folder that is open
Accessible without login Plain text file GPL.txt Lic. GPL License
Accessible without login Image file minus.gif Icon displays a minus sign
Plain text file Panel_Panel.cls Class Abstracts a presentation object for drawing
Plain text file Panel_TreeView.cls Class Draws a TreeView of data contained in Ladder
Accessible without login Image file plus.gif Icon displays a plus sign
Accessible without login Plain text file ReadMe.txt Doc. Provides guidence to programmers
Accessible without login Image file reference.gif Icon displays a an arrow that represents a shortcut
Accessible without login Plain text file styles.css Data CSS styles used by the TreeView page
Accessible without login Plain text file TreeView.php Example Desmonstrates how to use the Treeview Panel
Accessible without login Plain text file trgrs_TreeView.js Data JavaScript functions that determine what should be done when a link is selected

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadpanels-treeview-2010-07-19.zip 20KB
Downloadpanels-treeview-2010-07-19.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Ladder PHP Download .zip .tar.gz Ladder Manages the Data, this Presents it Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:916
This week:0
All time:3,880
This week:54Up