Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
|
DML write exception - triggered by some SQL syntax errors, etc. More...
Public Member Functions | |
__construct ($error, $sql=null, ?array $params=null) | |
Constructor. | |
Public Attributes | |
string | $error |
The name of the string from error.php to print. | |
array | $params |
The SQL's related parameters. | |
string | $sql |
The SQL that ran just before this write error. | |
DML write exception - triggered by some SQL syntax errors, etc.
@subpackage dml
dml_write_exception::__construct | ( | $error, | |
$sql = null, | |||
?array | $params = null ) |
Constructor.
string | $error | The name of the string from error.php to print. |
string | $sql | The SQL that ran just before this write error. |
array | $params | The SQL's related parameters.(optional) |