Inheritance diagram for RegexFindFile:


Public Member Functions | |
| __construct ($path, $regex) | |
| accept () | |
| getSearch () | |
Definition at line 18 of file regexfindfile.inc.
| RegexFindFile::__construct | ( | $ | path, | |
| $ | regex | |||
| ) |
Construct from path and regular expression.
| $path | the directory to search in If path contains ';' then this parameter is split and every part of it is used as separate directory. | |
| $regex | perl style regular expression to find files with |
Reimplemented from FindFile.
Definition at line 27 of file regexfindfile.inc.
| RegexFindFile::accept | ( | ) |
Reimplemented from FindFile.
Definition at line 34 of file regexfindfile.inc.
References FindFile::getSearch().
00035 { 00036 return preg_match($this->getSearch(), $this->current()); 00037 }
Here is the call graph for this function:

| FindFile::getSearch | ( | ) | [inherited] |
Definition at line 59 of file findfile.inc.
Referenced by accept().
1.5.2