# HG changeset patch # User Eris Caffee # Date 1318607458 18000 # Node ID e080164332bf9ca296e8647403609757b2f62414 # Parent 2a9d07f0f275a6850e6a70ba91f5a649ef723d29 saving work diff -r 2a9d07f0f275 -r e080164332bf dump.php --- a/dump.php Fri Sep 30 00:12:23 2011 -0500 +++ b/dump.php Fri Oct 14 10:50:58 2011 -0500 @@ -253,6 +253,17 @@ } //////////////////////////////////////////////////////////////////////////////// +// File finder +//////////////////////////////////////////////////////////////////////////////// +class Finder + { + private $filelist = array();; + private $regexlist = array(); + private $topdir = ''; + private $maxdepth = PHP_INT_MAX; + } + +//////////////////////////////////////////////////////////////////////////////// // Miscellaneous functions //////////////////////////////////////////////////////////////////////////////// function find_files(&$filelist, $regex, $dir='.', $maxdepth=PHP_INT_MAX) diff -r 2a9d07f0f275 -r e080164332bf notes --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/notes Fri Oct 14 10:50:58 2011 -0500 @@ -0,0 +1,4 @@ +A class for the search + +A class for each script +Each scripts class registers itself with the search class \ No newline at end of file