Moodle  2.2.1
http://www.collinsharper.com
moodle_quiz_exception Class Reference
Inheritance diagram for moodle_quiz_exception:
Collaboration diagram for moodle_quiz_exception:

Public Member Functions

 __construct ($quizobj, $errorcode, $a=null, $link= '', $debuginfo=null)

Detailed Description

Class for quiz exceptions. Just saves a couple of arguments on the constructor for a moodle_exception.

Since:
Moodle 2.0

Definition at line 41 of file attemptlib.php.


Constructor & Destructor Documentation

__construct ( errorcode,
module,
link = null,
a = '',
debuginfo = null 
)

Constructor

Parameters:
string$errorcodeThe name of the string from error.php to print
string$modulename of module
string$linkThe 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$aExtra words and phrases that might be required in the error string
string$debuginfooptional debugging information

Reimplemented from moodle_exception.

Definition at line 42 of file attemptlib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations