PHP Classes

file2menu: Read a directory and display the content as links

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 896 All time: 3,929 This week: 194Up
Version License Categories
file2menu 1.0GNU General Publi...HTML, Files and Folders
Description Author

This class can be used to generate a menu of links from the files contained in a given directory.

It can traverse recursively a given directory under the site document root and retrieve the list of files contained in the directory and any sub-directories that match a list of accepted file name extensions.

The class generates HTML to display the list of files as a menu of links. The menu can also be saved to a given file.

Picture of Nick Pap
Name: Nick Pap <contact>
Classes: 4 packages by
Country: Greece Greece
Age: ???
All time rank: 5988 in Greece Greece
Week rank: 479 Up5 in Greece Greece Up

  Files folder image Files  
File Role Description
Plain text file file2menu.php Class Class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,929
This week:194Up
User Ratings User Comments (2)
 All time
This class is great to create a sitemap! wow.
13 years ago (Vicente Carlos Fernandes)
Very easy to use, very customizable
14 years ago (danci)
For more information send a message to info at phpclasses dot org.