|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | tool |
Enumerations | |
| enum | NO_OUTPUT_BUFFERING |
Variables | |
| $showpasses = optional_param('showpasses', false, PARAM_BOOL) | |
| $codecoverage = optional_param('codecoverage', false, PARAM_BOOL) | |
| $selected = optional_param_array('selected', array(), PARAM_INT) | |
| global | $UNITTEST = new stdClass() |
| if(!data_submitted()) | $dbinfos = array() |
| $tests = array() | |
| $dbinfos [0] = array('name'=>"Current database ($CFG->dblibrary/$CFG->dbtype)", 'installed'=>true, 'configured'=>true) | |
| if(data_submitted() and!empty($selected[0])) for($i=1;$i<=10;$i++) | if (!empty($tests)) |
| foreach ($dbinfos as $i=> $dbinfo) | |
| enum NO_OUTPUT_BUFFERING |
Definition at line 26 of file dbtest.php.
| $codecoverage = optional_param('codecoverage', false, PARAM_BOOL) |
Definition at line 36 of file dbtest.php.
| if (!data_submitted()) $dbinfos = array() |
Definition at line 54 of file dbtest.php.
| $dbinfos[0] = array('name'=>"Current database ($CFG->dblibrary/$CFG->dbtype)", 'installed'=>true, 'configured'=>true) |
Definition at line 57 of file dbtest.php.
| $selected = optional_param_array('selected', array(), PARAM_INT) |
Definition at line 37 of file dbtest.php.
| $showpasses = optional_param('showpasses', false, PARAM_BOOL) |
Definition at line 35 of file dbtest.php.
| $tests = array() |
Definition at line 55 of file dbtest.php.
| $UNITTEST = new stdClass() |
Definition at line 41 of file dbtest.php.
| foreach($dbinfos as $i=> $dbinfo) |
Definition at line 139 of file dbtest.php.
| if(!data_submitted()||!$codecoverage) |
Definition at line 91 of file dbtest.php.