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

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)

Function Documentation

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

Parameters:
string$filefull path to the php file to introspect
Returns:
object object with both 'classes' and 'functions' properties

Definition at line 533 of file simpletestcoveragelib.php.

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations