Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
enrol_ajax_exception Class Reference
Inheritance diagram for enrol_ajax_exception:

Public Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

enrol_ajax_exception::__construct ( $errorcode,
$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

The documentation for this class was generated from the following file: