$database_manager | moodle_database | protected |
$dbhost | moodle_database | protected |
$dbname | moodle_database | protected |
$dboptions | moodle_database | protected |
$dbpass | moodle_database | protected |
$dbuser | moodle_database | protected |
$debug | moodle_database | protected |
$disposed | moodle_database | protected |
$external | moodle_database | protected |
$inorequaluniqueindex | moodle_database | protected |
$last_extrainfo | moodle_database | protected |
$last_params | moodle_database | protected |
$last_sql | moodle_database | protected |
$last_time | moodle_database | protected |
$last_type | moodle_database | protected |
$loggingquery | moodle_database | protected |
$metacache | moodle_database | protected |
$metacachetemp | moodle_database | protected |
$prefix | moodle_database | protected |
$queriestime | moodle_database | protected |
$reads | moodle_database | protected |
$skiplogging | moodle_database | protected |
$tables | moodle_database | protected |
$temptables | moodle_database | protected |
$transactions | moodle_database | protected |
$used_for_db_sessions | moodle_database | protected |
$writes | moodle_database | protected |
__construct($external=false) | moodle_database | |
__destruct() | moodle_database | |
add_sql_debugging(string $sql) | moodle_database | protected |
allowed_param_types() | moodle_database | protected |
begin_transaction() | moodle_database | protected |
change_database_structure($sql, $tablenames=null) | moodle_database | |
change_db_encoding() | moodle_database | |
commit_delegated_transaction(moodle_transaction $transaction) | moodle_database | |
commit_transaction() | moodle_database | protected |
connect($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null) | moodle_database | |
count_records($table, array $conditions=null) | moodle_database | |
count_records_select($table, $select, array $params=null, $countitem="COUNT('x')") | moodle_database | |
count_records_sql($sql, array $params=null) | moodle_database | |
create_database($dbhost, $dbuser, $dbpass, $dbname, array $dboptions=null) | moodle_database | |
delete_records($table, array $conditions=null) | moodle_database | |
delete_records_list($table, $field, array $values) | moodle_database | |
delete_records_select($table, $select, array $params=null) | moodle_database | |
delete_records_subquery(string $table, string $field, string $alias, string $subquery, array $params=[]) | moodle_database | |
detect_objects($value) | moodle_database | protected |
diagnose() | moodle_database | |
dispose() | moodle_database | |
driver_installed() | moodle_database | |
execute($sql, array $params=null) | moodle_database | |
export_dbconfig() | moodle_database | |
export_table_recordset($table) | moodle_database | |
fetch_columns(string $table) | moodle_database | protected |
fix_sql_params($sql, array $params=null) | moodle_database | |
fix_table_name($tablename) | moodle_database | protected |
fix_table_names($sql) | moodle_database | protected |
force_transaction_rollback() | moodle_database | |
get_columns($table, $usecache=true) | moodle_database | |
get_configuration_help() | moodle_database | |
get_configuration_hints() | moodle_database | |
get_dbfamily() | moodle_database | |
get_dblibrary() | moodle_database | protected |
get_dbtype() | moodle_database | protected |
get_dbvendor() | moodle_database | |
get_debug() | moodle_database | |
get_driver_instance($type, $library, $external=false) | moodle_database | static |
get_field($table, $return, array $conditions, $strictness=IGNORE_MISSING) | moodle_database | |
get_field_select($table, $return, $select, array $params=null, $strictness=IGNORE_MISSING) | moodle_database | |
get_field_sql($sql, array $params=null, $strictness=IGNORE_MISSING) | moodle_database | |
get_fieldset_select($table, $return, $select, array $params=null) | moodle_database | |
get_fieldset_sql($sql, array $params=null) | moodle_database | |
get_in_or_equal($items, $type=SQL_PARAMS_QM, $prefix='param', $equal=true, $onemptyitems=false) | moodle_database | |
get_indexes($table) | moodle_database | |
get_last_error() | moodle_database | |
get_manager() | moodle_database | |
get_metacache() | moodle_database | protected |
get_name() | moodle_database | |
get_prefix() | moodle_database | |
get_record($table, array $conditions, $fields=' *', $strictness=IGNORE_MISSING) | moodle_database | |
get_record_select($table, $select, array $params=null, $fields=' *', $strictness=IGNORE_MISSING) | moodle_database | |
get_record_sql($sql, array $params=null, $strictness=IGNORE_MISSING) | moodle_database | |
get_records($table, array $conditions=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_records_list($table, $field, array $values, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_records_menu($table, array $conditions=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_records_select($table, $select, array $params=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_records_select_menu($table, $select, array $params=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_records_sql($sql, array $params=null, $limitfrom=0, $limitnum=0) | moodle_database | |
get_records_sql_menu($sql, array $params=null, $limitfrom=0, $limitnum=0) | moodle_database | |
get_recordset($table, array $conditions=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_recordset_list($table, $field, array $values, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_recordset_select($table, $select, array $params=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0) | moodle_database | |
get_recordset_sql($sql, array $params=null, $limitfrom=0, $limitnum=0) | moodle_database | |
get_server_info() | moodle_database | |
get_session_lock($rowid, $timeout) | moodle_database | |
get_settings_hash() | moodle_database | protected |
get_tables($usecache=true) | moodle_database | |
get_temp_tables_cache() | moodle_database | protected |
get_transaction_start_backtrace() | moodle_database | |
import_record($table, $dataobject) | moodle_database | |
insert_record($table, $dataobject, $returnid=true, $bulk=false) | moodle_database | |
insert_record_raw($table, $params, $returnid=true, $bulk=false, $customsequence=false) | moodle_database | |
insert_records($table, $dataobjects) | moodle_database | |
is_fulltext_search_supported() | moodle_database | |
is_transaction_started() | moodle_database | |
normalise_limit_from_num($limitfrom, $limitnum) | moodle_database | protected |
normalise_value($column, $value) | moodle_database | protected |
perf_get_queries() | moodle_database | |
perf_get_queries_time() | moodle_database | |
perf_get_reads() | moodle_database | |
perf_get_reads_slave() | moodle_database | |
perf_get_writes() | moodle_database | |
print_debug($sql, array $params=null, $obj=null) | moodle_database | protected |
print_debug_time() | moodle_database | protected |
query_end($result) | moodle_database | protected |
query_log($error=false) | moodle_database | |
query_log_allow() | moodle_database | protected |
query_log_prevent() | moodle_database | protected |
query_start($sql, ?array $params, $type, $extrainfo=null) | moodle_database | protected |
query_time() | moodle_database | protected |
record_exists($table, array $conditions) | moodle_database | |
record_exists_select($table, $select, array $params=null) | moodle_database | |
record_exists_sql($sql, array $params=null) | moodle_database | |
release_session_lock($rowid) | moodle_database | |
replace_all_text($table, database_column_info $column, $search, $replace) | moodle_database | |
replace_all_text_supported() | moodle_database | |
reset_caches($tablenames=null) | moodle_database | |
rollback_delegated_transaction(moodle_transaction $transaction, $e) | moodle_database | |
rollback_transaction() | moodle_database | protected |
session_lock_supported() | moodle_database | |
set_debug($state) | moodle_database | |
set_field($table, $newfield, $newvalue, array $conditions=null) | moodle_database | |
set_field_select($table, $newfield, $newvalue, $select, array $params=null) | moodle_database | |
set_logging($state) | moodle_database | |
setup_is_unicodedb() | moodle_database | |
sql_bitand($int1, $int2) | moodle_database | |
sql_bitnot($int1) | moodle_database | |
sql_bitor($int1, $int2) | moodle_database | |
sql_bitxor($int1, $int2) | moodle_database | |
sql_cast_2signed($fieldname) | moodle_database | |
sql_cast_char2int($fieldname, $text=false) | moodle_database | |
sql_cast_char2real($fieldname, $text=false) | moodle_database | |
sql_cast_to_char(string $field) | moodle_database | |
sql_ceil($fieldname) | moodle_database | |
sql_compare_text($fieldname, $numchars=32) | moodle_database | |
sql_concat() | moodle_database | |
sql_concat_join($separator="' '", $elements=array()) | moodle_database | |
sql_empty() | moodle_database | |
sql_equal($fieldname, $param, $casesensitive=true, $accentsensitive=true, $notequal=false) | moodle_database | |
sql_fullname($first='firstname', $last='lastname') | moodle_database | |
sql_group_concat(string $field, string $separator=', ', string $sort='') | moodle_database | |
sql_intersect($selects, $fields) | moodle_database | |
sql_isempty($tablename, $fieldname, $nullablefield, $textfield) | moodle_database | |
sql_isnotempty($tablename, $fieldname, $nullablefield, $textfield) | moodle_database | |
sql_length($fieldname) | moodle_database | |
sql_like($fieldname, $param, $casesensitive=true, $accentsensitive=true, $notlike=false, $escapechar='\\') | moodle_database | |
sql_like_escape($text, $escapechar='\\') | moodle_database | |
sql_modulo($int1, $int2) | moodle_database | |
sql_null_from_clause() | moodle_database | |
sql_order_by_null(string $fieldname, int $sort=SORT_ASC) | moodle_database | |
sql_order_by_text($fieldname, $numchars=32) | moodle_database | |
sql_position($needle, $haystack) | moodle_database | |
sql_regex($positivematch=true, $casesensitive=false) | moodle_database | |
sql_regex_get_word_beginning_boundary_marker() | moodle_database | |
sql_regex_get_word_end_boundary_marker() | moodle_database | |
sql_regex_supported() | moodle_database | |
sql_substr($expr, $start, $length=false) | moodle_database | |
start_delegated_transaction() | moodle_database | |
store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null) | moodle_database | protected |
transactions_forbidden() | moodle_database | |
transactions_supported() | moodle_database | protected |
update_record($table, $dataobject, $bulk=false) | moodle_database | |
update_record_raw($table, $params, $bulk=false) | moodle_database | |
update_temp_table_stats() | moodle_database | |
want_read_slave() | moodle_database | |
where_clause($table, array $conditions=null) | moodle_database | protected |
where_clause_list($field, array $values) | moodle_database | protected |