|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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.