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

Public Member Functions

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

Data Fields

 $errorcode
 $module
 $a
 $link
 $debuginfo

Detailed Description

Definition at line 94 of file setuplib.php.


Constructor & Destructor Documentation

__construct ( errorcode,
module = '',
link = '',
a = NULL,
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 in ddl_dependency_exception, portfolio_export_exception, and moodle_quiz_exception.

Definition at line 109 of file setuplib.php.

Here is the call graph for this function:


Field Documentation

$a

Definition at line 97 of file setuplib.php.

$debuginfo

Definition at line 99 of file setuplib.php.

$errorcode

Definition at line 95 of file setuplib.php.

$link

Definition at line 98 of file setuplib.php.

$module

Definition at line 96 of file setuplib.php.


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