Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: c:/www/apache/doc2//pear/File/Find.php
PEAR 2000/12/03 -

File_Find

File_Find

Warning: documentation is missing.

 

private class File_Find


 

Private Method Summary

array

&glob(string $pattern, string $dirpath, [ string $pattern_type ])

Search the current directory to find matches for the
array

&maptree( $directory)

Map the directory tree given by the directory_path parameter.
void

&search( $pattern, $directory, string $type)

Search the specified directory tree with the specified pattern. Return an
void

isError( &$var)

Determine whether or not a variable is a PEAR exception
void

File_Find_version()

Fetch the current File_Find version
void

_build( $directory)

Warning: documentation is missing.
void

_determineRegex( $type)

Warning: documentation is missing.
void

FileFindException( $message, string $mode, string $level)

Warning: documentation is missing.

Private Field Summary

array

$_dirs

array

$files

array

$directories

string

$classname

string

$error_message_prepend

Private Method Details

&glob

private array &glob( string $pattern, string $dirpath, [ string $pattern_type ] )

  Search the current directory to find matches for the
the specified pattern.

Parameter
string $pattern
the pattern to search
the directory for.
string $dirpath
the directory path
to search.
string $pattern_type = >>'php'<<
the type of
pattern matching functions to use (can either be 'php' or
'perl').
Returns array

containing all of the files and directories
matching the pattern.

Author(s) Sterling Hughes <sterling@php.net>

&maptree

private array &maptree( $directory )

  Map the directory tree given by the directory_path parameter.

Parameter
$directory
Warning: documentation is missing.
Returns array

, the first element containing a list
of all the directories, the second element containing a list of all the
files.

Author(s) Sterling Hughes <sterling@php.net>

&search

private void &search( $pattern, $directory, string $type )

  Search the specified directory tree with the specified pattern. Return an
array containing all matching files (no directories included).

Parameter
$pattern
Warning: documentation is missing.
$directory
Warning: documentation is missing.
string $type
Warning: documentation is missing.
Returns void

Author(s) Sterling Hughes <sterling@php.net>

isError

private void isError( &$var )

  Determine whether or not a variable is a PEAR exception

Parameter
&$var
Warning: documentation is missing.
Returns void


File_Find_version

private void File_Find_version( )

  Fetch the current File_Find version

Returns void


_build

private void _build( $directory )

 

Warning: documentation is missing.

Parameter
$directory
Warning: documentation is missing.
Returns void


_determineRegex

private void _determineRegex( $type )

 

Warning: documentation is missing.

Parameter
$type
Warning: documentation is missing.
Returns void


FileFindException

private void FileFindException( $message, string $mode, string $level )

 

Warning: documentation is missing.

Parameter
$message
Warning: documentation is missing.
string $mode
Warning: documentation is missing.
string $level
Warning: documentation is missing.
Returns void


Private Field Details

$_dirs

private array $_dirs

>>array ()<<



$files

private array $files

>>array ()<<



$directories

private array $directories

>>array ()<<



$classname

private string $classname

>>'FileFindException'<<



$error_message_prepend

private string $error_message_prepend

>>'Error in File_Find'<<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta