Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
|
Caused by missing record that is required for normal operation. More...
Public Member Functions | |
__construct ($tablename, $sql='', ?array $params=null) | |
Constructor. | |
get_response_classname () | |
Get the class name of the response that should be used to handle this exception. | |
Public Attributes | |
array | $params |
The SQL's parameters. | |
string | $sql |
An SQL query. | |
string | $tablename |
A table's name. | |
Caused by missing record that is required for normal operation.
@subpackage dml
dml_missing_record_exception::__construct | ( | $tablename, | |
$sql = '', | |||
?array | $params = null ) |
Constructor.
string | $tablename | The table name if known, '' if unknown. |
string | $sql | Optional SQL query. |
array | $params | Optional SQL query's parameters. |
dml_missing_record_exception::get_response_classname | ( | ) |
Get the class name of the response that should be used to handle this exception.
string |
Implements core\exception\response_aware_exception.