File_SearchReplace
Provides an API for replacing text in files
- Introduction — HowTo s'n'r in files
- File_SearchReplace::File_SearchReplace() — constructor
- File_SearchReplace::getNumOccurences() — return number of replaces
- File_SearchReplace::doSearch() — execute search&replace
- File_SearchReplace::setDirectories() — set file location
- File_SearchReplace::setFiles() — set the files to scan
- File_SearchReplace::setFind() — set pattern to find
- File_SearchReplace::setIncludeSubdir() — allow scan in sub directories
- File_SearchReplace::setReplace() — set replace string
- File_SearchReplace::setSearchFunction() — set search function to use