File_SearchReplace

File_SearchReplace

Table of Contents
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

Provides an API for replacing text in files

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.