|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Data Structures | |
| class | autogroup_test_coverage |
| class | moodle_coverage_recorder |
| class | moodle_coverage_reporter |
Namespaces | |
| namespace | tool |
| namespace | moodlecore |
Functions | |
| moodle_reflect_file ($file) | |
| moodle_reflect_file | ( | $ | file | ) |
Return information about classes and functions
This function will parse any PHP file, extracting information about the classes and functions defined within it, providing "File Reflection" as PHP standard reflection classes don't support that.
The idea and the code has been obtained from the Zend Framework Reflection API http://framework.zend.com/manual/en/zend.reflection.reference.html
Usage: $ref_file = moodle_reflect_file($file);
| string | $file | full path to the php file to introspect |
Definition at line 533 of file simpletestcoveragelib.php.
