Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/tool/unittest/simpletestlib.php File Reference

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

Function Documentation

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.

Parameters:
$paththe folder to start searching from.
$callbackthe function to call with the name of each file found.
$fileregexpa regexp used to filter the search (optional).
$excludeIf true, pathnames that match the regexp will be ingored. If false, only files that match the regexp will be included. (default false).
array$ignorefolderswill not go into any of these folders (optional).

Don't check hidden files.

Definition at line 56 of file simpletestlib.php.

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations