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

Public Member Functions

 __construct ($targettype, $targetname, $offendingtype, $offendingname, $debuginfo=null)

Detailed Description

Error changing db structure, caused by some dependency found like trying to modify one field having related indexes.

Definition at line 138 of file ddllib.php.


Constructor & Destructor Documentation

__construct ( errorcode,
module,
link,
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 140 of file ddllib.php.


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