previous導入 (Previous) (Next) File_SearchReplace::getNumOccurences()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_SearchReplace::File_SearchReplace()

File_SearchReplace::File_SearchReplace() – コンストラクタ

Synopsis

require_once 'File/SearchReplace.php';

void File_SearchReplace::File_SearchReplace ( mixed $find , mixed $replace , string $files , mixed $directories = '' , boolean $include_subdir = = true , array $ignore_lines = array() )

Description

コンストラクタ

Parameter

  • mixed $find - 検索対象の文字/正規表現 あるいは文字/正規表現の配列

  • mixed $replace - $find を置換する文字/正規表現 あるいは文字/正規表現の配列

  • array $files - 対象となるファイル

  • array $directories - 対象となるディレクトリ

  • boolean $include_subdir - サブディレクトリを横断して走査するかどうか

  • array $ignore_lines - 行を無視するための文字列をもつ配列。この要素は"normal"の検索でのみ動作します。

Note

This function can be called statically.

previous導入 (Previous) (Next) File_SearchReplace::getNumOccurences()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.