Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/cch/www/pear/File/Find.php
PEAR Repository -

File_Find

File_Find

 

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
void

&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)

void

_determineRegex( $type)

void

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

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
containing the pattern to search
the directory for.
string $dirpath
containing the directory path
to search.
string $pattern_type = >>'php'<<
containing 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 void &maptree( $directory )

  Map the directory tree given by the directory_path parameter.

Parameter
$directory
Returns void

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
$directory
string $type
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
Returns void


File_Find_version

private void File_Find_version( )

  Fetch the current File_Find version

Returns void


_build

private void _build( $directory )

 

Parameter
$directory
Returns void


_determineRegex

private void _determineRegex( $type )

 

Parameter
$type
Returns void


FileFindException

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

 

Parameter
$message
string $mode
string $level
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