|
| __construct ($errorcode, $module='cache', $link='', $a=null, $debuginfo=null) |
| Constructs a new exception.
|
|
|
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.
|
|
- Copyright
- 2012 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_cache\exception\cache_exception::__construct |
( |
| $errorcode, |
|
|
| $module = 'cache', |
|
|
| $link = '', |
|
|
| $a = null, |
|
|
| $debuginfo = null ) |
Constructs a new exception.
- Parameters
-
string | $errorcode | |
string | $module | |
string | $link | |
mixed | $a | |
mixed | $debuginfo | |
Reimplemented from core\exception\moodle_exception.
◆ $link
string core\exception\moodle_exception::$link |
|
inherited |
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.
The documentation for this class was generated from the following file:
- cache/classes/exception/cache_exception.php