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

  Author Author  
Picture of Colin McKinnon
Name: Colin McKinnon <e-mail contact>
Packages: 3 Browse all classes by Colin McKinnon Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: ???
All time rank: 159770 in United Kingdom United Kingdom
Week rank: 1394 Up61 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Colin McKinnon  >  pfpFileTree  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: pfpFileTree
Base name: pfp-file-tree
Description: Manipulates files in directories recursively
Version: 1.0
PHP version: 5.0
License: BSD License
All time users: 443 users
All time rank: 5510
Week users: 0 users
Week rank: 2460 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  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

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Download Download all files: pfp-file-tree.tar.gz pfp-file-tree.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.