Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

Read slave helper that exposes selected moodle_read_slave_trait metods

Copyright: 2018 Srdjan Janković, Catalyst IT
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 89 lines (2 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 1 file
 lib/dml/pgsql_native_moodle_database.php

Defines 5 functions

  __construct()
  get_db_handle()
  query_start()
  query_end()
  dispose()

Functions that are not part of a class:

__construct($external = false)   X-Ref
Constructs a mock db driver

param: bool $external

get_db_handle()   X-Ref
Upgrade to public

return: resource

query_start($sql, array $params = null, $type, $extrainfo = null)   X-Ref
Upgrade to public

param: string $sql
param: array $params
param: int $type
param: array $extrainfo

query_end($result)   X-Ref
Upgrade to public

param: mixed $result

dispose()   X-Ref
Upgrade to public