Moodle  2.2.1
http://www.collinsharper.com
SimplePatternCollector Class Reference
Inheritance diagram for SimplePatternCollector:
Collaboration diagram for SimplePatternCollector:

Public Member Functions

 SimplePatternCollector ($pattern= '/php $/i')
 _handle (&$test, $filename)

Data Fields

 $_pattern

Detailed Description

Definition at line 95 of file collector.php.


Member Function Documentation

_handle ( &$  test,
filename 
)

Attempts to add files that match a given pattern.

See also:
SimpleCollector::_handle()
Parameters:
object$testGroup test with GroupTest::addTestFile() method.
string$pathDirectory to scan. protected

Reimplemented from SimpleCollector.

Definition at line 116 of file collector.php.

SimplePatternCollector ( pattern = '/php$/i')
Parameters:
string$patternPerl compatible regex to test name against See PHP's PCRE for full documentation of valid pattern.s

Definition at line 104 of file collector.php.


Field Documentation

$_pattern

Definition at line 96 of file collector.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations