|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Data Structures | |
| class | IgnoreWhitespaceExpectation |
| class | ArraysHaveSameValuesExpectation |
| class | CheckSpecifiedFieldsExpectation |
| class | XMLStructureExpectation |
| class | ContainsTagWithAttribute |
| class | ContainsTagWithAttributes |
| class | ContainsSelectExpectation |
| class | DoesNotContainTagWithAttributes |
| class | ContainsTagWithContents |
| class | ContainsEmptyTag |
| class | test_recordset |
| class | UnitTestCaseUsingDatabase |
| class | FakeDBUnitTestCase |
| class | UnitTestDB |
Namespaces | |
| namespace | tool |
| namespace | moodlecore |
Functions | |
| recurseFolders ($path, $callback, $fileregexp= '/.*/', $exclude=false, $ignorefolders=array()) | |
| recurseFolders | ( | $ | path, |
| $ | callback, | ||
| $ | fileregexp = '/.*/', |
||
| $ | exclude = false, |
||
| $ | ignorefolders = array() |
||
| ) |
Includes Recursively visit all the files in the source tree. Calls the callback function with the pathname of each file found.
| $path | the folder to start searching from. | |
| $callback | the function to call with the name of each file found. | |
| $fileregexp | a regexp used to filter the search (optional). | |
| $exclude | If true, pathnames that match the regexp will be ingored. If false, only files that match the regexp will be included. (default false). | |
| array | $ignorefolders | will not go into any of these folders (optional). |
Don't check hidden files.
Definition at line 56 of file simpletestlib.php.
