Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

sqlsrv specific recordset.

Copyright: 2009 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v2 or later
File Size: 142 lines (4 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 lib/dml/moodle_recordset.php

Defines 1 class

sqlsrv_native_moodle_recordset:: (10 methods):
  __construct()
  transaction_starts()
  unregister()
  __destruct()
  fetch_next()
  current()
  key()
  next()
  valid()
  close()


Class: sqlsrv_native_moodle_recordset  - X-Ref

__construct($rsrc, sqlsrv_native_moodle_database $db)   X-Ref
No description

transaction_starts()   X-Ref
Inform existing open recordsets that transaction
is starting, this works around MARS problem described
in MDL-37734.


unregister()   X-Ref
Unregister recordset from the global list of open recordsets.


__destruct()   X-Ref
No description

fetch_next()   X-Ref
No description

current()   X-Ref
No description

key()   X-Ref
No description

next()   X-Ref
No description

valid()   X-Ref
No description

close()   X-Ref
No description