Login   Register  
PHP Classes
elePHPant
Icontem

pfpFileTree: Manipulates files in directories recursively

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-03-18 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 443 All time: 5,647 This week: 2,460Up
Version License PHP version Categories  
pfp-file-tree 1.0BSD License5.0PHP 5, Files and Folders
Description Author  

This class can manipulates files in directories recursively.

It can traverse a given directory recursively and match files that satisfy given filter conditions based on the file names, size, modification time, permissions, etc..

The class may call given callback functions to perform custom operations on the matched files defined by the applications.

Innovation Award  
PHP Programming Innovation award nominee
April 2011
Number 7
Sometimes it is necessary to execute a custom processing job on a large number of files contained in directory and eventually in its sub-directories.

This class makes it easier to achieve that by traversing a given directory recursively. For each file that matches a given pattern it calls a user-defined callback function that you can use to perform your custom processing job.

Manuel Lemos
Picture of Colin McKinnon
Name: Colin McKinnon <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 159769 in United Kingdom United Kingdom
Week rank: 751 Up32 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file pfpFileTree.inc.php Class the class
Accessible without login Plain text file example0.php Example example
Accessible without login Plain text file example1.php Example example
Accessible without login Plain text file example2.php Example example
Accessible without login Plain text file example3.php Example example
Accessible without login Plain text file example4.php Example example
Accessible without login Plain text file example5.php Example example
Accessible without login HTML file pfpFileTreeDoc.html Doc. Documentation
Accessible without login Plain text file README Doc. description

 Version Control Unique User Downloads Download Rankings  
 0%Total:443All time:5,647
 This week:0This week:2,460Up