Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
sqlsrv_native_moodle_recordset Class Reference
Inheritance diagram for sqlsrv_native_moodle_recordset:
moodle_recordset

Public Member Functions

 __construct ($rsrc, sqlsrv_native_moodle_database $db)
 
 close ()
 Did we reach the end?
 
 current ()
 
 key ()
 
 next ()
 
 rewind ()
 Returns current record - fields as object properties, lowercase.
 
 transaction_starts ()
 Inform existing open recordsets that transaction is starting, this works around MARS problem described in MDL-37734.
 
 valid ()
 

Protected Attributes

array $buffer = null
 recordset buffer
 
 $current
 
sqlsrv_native_moodle_database $db
 
 $rsrc
 

Member Function Documentation

◆ close()

sqlsrv_native_moodle_recordset::close ( )

Did we reach the end?

Return values
booleanFree resources and connections, recordset can not be used anymore.
void

Reimplemented from moodle_recordset.

◆ rewind()

moodle_recordset::rewind ( )
inherited

Returns current record - fields as object properties, lowercase.

Return values
objectReturns the key of current row
intcurrent row Moves forward to next row
voidRewinds are not supported!
void

The documentation for this class was generated from the following file: