検索方法 (Previous) (Next) File_Find::maptree()

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_Find::glob()

File_Find::glob() -- ディレクトリ内でパターンにマッチするものを検索する

説明

ディレクトリ内で指定したパターンにマッチするものを検索します。

パラメータ

  • $pattern - ディレクトリを検索する際のパターンを含む文字列を指定します

  • $dirpath - 検索するディレクトリパスを含む文字列を指定します

  • $pattern_type - 使用するパターンマッチング関数を含む文字列を指定します ('php' もしくは 'perl' もしくは 'shell' のいずれかが指定可能です).

    $pattern のフォーマットは、 $pattern_type の値に依存します。 より詳細な情報については、 検索方法 を参照してください。

返り値

array - パターンにマッチする全てのファイル名とサブディレクトリを含む配列、 あるいは PEAR_Error

注意

この関数は、スタティックにコールする ことができます。

検索方法 (Previous) (Next) File_Find::maptree()

Download Documentation Last updated: Sun, 05 Oct 2008
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.