PHP_UML
[ class tree: PHP_UML ] [ index: PHP_UML ] [ all elements ]

Class: PHP_UML_FileScannerImpl

Source Location: /PHP_UML-1.0.1/UML/FileScannerImpl.php

Class Overview

PHP_UML_FileScanner
   |
   --PHP_UML_FileScannerImpl

The PHP_UML implementation of a FileScanner class.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: PHP_UML_FileScanner

PHP_UML_FileScanner::__construct()
Constructor
PHP_UML_FileScanner::raiseUnknownFolderException()
Can be overriden to treat unknown folder exception
PHP_UML_FileScanner::scan()
Starts the scan
PHP_UML_FileScanner::tickFile()
This function will be called every time the scanner meets a new file (while it looks into the folders), as well as for each file defined in the property $files.

Class Details

[line 30]
The PHP_UML implementation of a FileScanner class.


[ Top ]


Class Variables

$parser =

[line 38]

Reference to a PHP_UML_PHP_Parser object
  • Access: public

Type:   PHP_UML_PHP_Parser


[ Top ]



Method Detail

__construct (Constructor)   [line 44]

PHP_UML_FileScannerImpl __construct( )

Constructor
  • Access: public

Overrides PHP_UML_FileScanner::__construct() (Constructor)
[ Top ]

raiseUnknownFolderException   [line 61]

void raiseUnknownFolderException( $basedir)

  • Access: public

Overrides PHP_UML_FileScanner::raiseUnknownFolderException() (Can be overriden to treat unknown folder exception)

Parameters:

   $basedir     

[ Top ]

tickFile   [line 56]

void tickFile( string $basedir, string $filename)

Implementation of tickFile() : we parse every file met.
  • See: tickFile()
  • Access: public

Overrides PHP_UML_FileScanner::tickFile() (This function will be called every time the scanner meets a new file (while it looks into the folders), as well as for each file defined in the property $files.)

Parameters:

string   $basedir     Directory path
string   $filename     File name

[ Top ]


Documentation generated on Thu, 27 Aug 2009 17:30:06 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.