Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
core\exception\access_denied_exception Class Reference
Inheritance diagram for core\exception\access_denied_exception:
core\exception\moodle_exception core\exception\response_aware_exception Exception

Public Member Functions

 get_response_classname ()
 Get the class name of the response that should be used to handle this exception.
 

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.
 

Member Function Documentation

◆ get_response_classname()

core\exception\access_denied_exception::get_response_classname ( )

Get the class name of the response that should be used to handle this exception.

Return values
string

Implements core\exception\response_aware_exception.

Member Data Documentation

◆ $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: