Search methods (Previous) (Next) File_Find::maptree()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_Find::glob()

File_Find::glob() -- find matches for a pattern in a directory

Opis

Search the directory to find matches for the specified pattern.

Parametr

  • $pattern - a string containing the pattern to search the directory for.

  • $dirpath - a string containing the directory path to search.

  • $pattern_type - a string containing the type of pattern matching functions to use (can either be 'php', 'perl' or 'shell').

    The format of the $pattern depends on the $pattern_type-value. For more information see search methods

Zwracana wartość

array - an array contains all filenames and name of subdirectories, which matches the pattern. Or a PEAR_Error.

Uwagi

Ta funkcja może być wywołana statycznie.

Search methods (Previous) (Next) File_Find::maptree()

Download Documentation Last updated: Mon, 02 Jul 2007
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.