Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
|
Public Member Functions | |
__construct ($errorcode, $module='', $link='', $a=null, $debuginfo=null) | |
Constructor. | |
Public Attributes | |
mixed | $a |
Extra words and phrases that might be required in the error string. | |
string | $debuginfo |
Optional information to aid the debugging process. | |
string | $errorcode |
The name of the string from error.php to print. | |
string | $link |
The url where the user will be prompted to continue. | |
string | $module |
The name of module. | |
core\exception\moodle_exception::__construct | ( | $errorcode, | |
$module = '', | |||
$link = '', | |||
$a = null, | |||
$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. |
mixed | $a | Extra words and phrases that might be required in the error string |
string | $debuginfo | optional debugging information |
Reimplemented in core\antivirus\scanner_exception, and core_cache\exception\cache_exception.
string core\exception\moodle_exception::$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.