PHP Classes
elePHPant
Icontem

TreeIt: Display the content of directories as a tree

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (45)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-05-26 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 693 All time: 4,518 This week: 872Up
Version License PHP version Categories
treeit 1.2GNU General Publi...4HTML, Files and Folders, Content mana...
Description Author

This class can be used to display the contents of a directory as a collapsible tree.

It scans a given directory recursively to retrieve the list of files and sub-directories. It can use caching to avoid the overhead of scanning the directory again in subsequent accesses. Some files and directories may be excluded from scanning.

The class can display the directory structure as nested HTML nodes for each directory that is found. The directory entries may be collapsible or not.

Each directory and file is represented by its name and an icon according to the file type.

Picture of David Ostendorf
Name: David Ostendorf <contact>
Classes: 1 package by
Country: Germany Germany

Screenshots  
  • screen_HTML.jpg
  Files folder image Files  
File Role Description
Files folder imagefolder (2 files, 1 directory)
Files folder imagehiddenfolder (1 file)
Files folder imageico (37 files)
Plain text file file.txt Data file
Plain text file index.php Example example
Plain text file TreeIt.class.php Class class

  Files folder image Files  /  folder  
File Role Description
Files folder imagesubfolder (1 file, 1 directory)
  Plain text file hiddenfile.txt Data file
  Plain text file subfile.txt Data file

  Files folder image Files  /  folder  /  subfolder  
File Role Description
Files folder imagesubsubfolder (1 file)
  Plain text file subsubfile.txt Data file

  Files folder image Files  /  folder  /  subfolder  /  subsubfolder  
File Role Description
  Plain text file subsubsubfile.txt Data file

  Files folder image Files  /  hiddenfolder  
File Role Description
  Plain text file subfile.txt Data file

  Files folder image Files  /  ico  
File Role Description
  Image file bmp.png Icon icon
  Image file cd.png Icon icon
  Image file cfg.png Icon icon
  Image file cmd.png Icon icon
  Image file d.gif Icon icon
  Image file doc.png Icon icon
  Image file eps.gif Icon icon
  Image file excel.png Icon icon
  Image file exe.png Icon icon
  Image file fh10.png Icon icon
  Image file fla.png Icon icon
  Image file folder_closed.png Icon icon
  Image file folder_opened.png Icon icon
  Image file gif.png Icon icon
  Image file html.png Icon icon
  Image file js.png Icon icon
  Image file l.gif Icon icon
  Image file m3u.png Icon icon
  Image file music.png Icon icon
  Image file nl.gif Icon icon
  Image file pdf.png Icon icon
  Image file php.png Icon icon
  Image file picture.png Icon icon
  Image file pps.png Icon icon
  Image file psd.png Icon icon
  Image file rar.png Icon icon
  Image file real.png Icon icon
  Image file server.png Icon icon
  Image file setup.png Icon icon
  Image file sig.png Icon icon
  Image file spacer.gif Icon icon
  Image file swf.png Icon icon
  Image file text.png Icon icon
  Image file tpl.png Icon icon
  Image file unknown.png Icon icon
  Image file video.png Icon icon
  Image file zip.png Icon icon

 Version Control Unique User Downloads Download Rankings  
 0%
Total:693
This week:0
All time:4,518
This week:872Up
User Comments (1)