This content of this page has been updated and migrated to the new Moodle Developer Resources. The information contained on the page should no longer be seen up-to-date.
Why not view this page on the new site and help us to migrate more content to the new site!
In previous versions problems in database calls were ignored by default.
Defined in lib/dmllib.php for now.
Thrown when can not connect to database for any reason.
Problem occurred during reading from database. Originally indicated be returning false - this value was often confused with false return value meaning not found.
Problem occurred during writing to database. Originally indicated be returning false.
- Exceptions: General guidelines for using of exceptions in Moodle 2.0
- DML functions: Where all the functions used to handle DB data. (DML) are defined.
- DDL functions: Where all the functions used to handle DB objects (DDL) are defined.