|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($quizobj, $errorcode, $a=null, $link= '', $debuginfo=null) | |
Class for quiz exceptions. Just saves a couple of arguments on the constructor for a moodle_exception.
Definition at line 41 of file attemptlib.php.
| __construct | ( | $ | errorcode, |
| $ | module, | ||
| $ | link = null, |
||
| $ | a = '', |
||
| $ | debuginfo = null |
||
| ) |
Constructor
| string | $errorcode | The name of the string from error.php to print |
| string | $module | name of module |
| string | $link | The url where the user will be prompted to continue. If no url is provided the user will be directed to the site index page. |
| object | $a | Extra words and phrases that might be required in the error string |
| string | $debuginfo | optional debugging information |
Reimplemented from moodle_exception.
Definition at line 42 of file attemptlib.php.
