PHP Classes

File System: Get a directory listing sorted by several options

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 515 All time: 5,730 This week: 255Up
Version License PHP version Categories
file_system 1.0BSD License5.2.0PHP 5, Files and Folders
Description 

Author

This class can be used to get the listing of a directory sorted by several options.

It can get the listing of a given directory. The listing may contain only files, only directories or both.

The class may sort the listing by entry type, name, date, size and file name extension. The sorting may be either set to ascending or descending order.

It may also take a callback function to implement custom list filtering.

Picture of Jamie Curnow
Name: Jamie Curnow is available for providing paid consulting. Contact Jamie Curnow .
Classes: 4 packages by
Country: Australia Australia
Age: 41
All time rank: 4175 in Australia Australia
Week rank: 312 Up3 in Australia Australia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Script
Accessible without login Image file file.png Icon Image for Example Script
Plain text file file_system.class.php Class The File_System Class file
Accessible without login Image file folder.png Icon Image for Example Script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:515
This week:0
All time:5,730
This week:255Up
User Comments (1)
Solid Class.
13 years ago (Michael Wittie)
70%StarStarStarStar