void
File_SearchReplace::File_SearchReplace (
mixed $find
,
mixed $replace
,
string $files
,
mixed $directories = ''
,
boolean
$include_subdir
= = true
,
array $ignore_lines = array()
)
コンストラクタ
mixed $find
- 検索対象の文字/正規表現
あるいは文字/正規表現の配列
mixed $replace
- $find を置換する文字/正規表現
あるいは文字/正規表現の配列
array $files
- 対象となるファイル
array $directories
- 対象となるディレクトリ
boolean $include_subdir
-
サブディレクトリを横断して走査するかどうか
array $ignore_lines
-
行を無視するための文字列をもつ配列。この要素は"normal"の検索でのみ動作します。
This function can be called statically.