Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
<?php
> /** > * English language strings. $ADODB_LANG_ARRAY = array ( > * 'LANG' => 'en', > * This file is part of ADOdb, a Database Abstraction Layer library for PHP. DB_ERROR => 'unknown error', > * DB_ERROR_ALREADY_EXISTS => 'already exists', > * @package ADOdb DB_ERROR_CANNOT_CREATE => 'can not create', > * @link https://adodb.org Project's web site and documentation DB_ERROR_CANNOT_DELETE => 'can not delete', > * @link https://github.com/ADOdb/ADOdb Source code and issue tracker DB_ERROR_CANNOT_DROP => 'can not drop', > * DB_ERROR_CONSTRAINT => 'constraint violation', > * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause DB_ERROR_DIVZERO => 'division by zero', > * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, DB_ERROR_INVALID => 'invalid', > * any later version. This means you can use it in proprietary products. DB_ERROR_INVALID_DATE => 'invalid date or time', > * See the LICENSE.md file distributed with this source code for details. DB_ERROR_INVALID_NUMBER => 'invalid number', > * @license BSD-3-Clause DB_ERROR_MISMATCH => 'mismatch', > * @license LGPL-2.1-or-later DB_ERROR_NODBSELECTED => 'no database selected', > * DB_ERROR_NOSUCHFIELD => 'no such field', > * @copyright 2000-2013 John Lim DB_ERROR_NOSUCHTABLE => 'no such table', > * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community DB_ERROR_NOT_CAPABLE => 'DB backend not capable', > */
DB_ERROR_NOT_FOUND => 'not found', DB_ERROR_NOT_LOCKED => 'not locked', DB_ERROR_SYNTAX => 'syntax error', DB_ERROR_UNSUPPORTED => 'not supported', DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row', DB_ERROR_INVALID_DSN => 'invalid DSN', DB_ERROR_CONNECT_FAILED => 'connect failed', 0 => 'no error', // DB_OK DB_ERROR_NEED_MORE_DATA => 'insufficient data supplied', DB_ERROR_EXTENSION_NOT_FOUND=> 'extension not found', DB_ERROR_NOSUCHDB => 'no such database', DB_ERROR_ACCESS_VIOLATION => 'insufficient permissions', DB_ERROR_DEADLOCK => 'deadlock detected', DB_ERROR_STATEMENT_TIMEOUT => 'statement timeout', DB_ERROR_SERIALIZATION_FAILURE => 'could not serialize access' );