Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
pdo_moodle_recordset Class Reference

Experimental pdo recordset. More...

Inheritance diagram for pdo_moodle_recordset:
moodle_recordset

Public Member Functions

 __construct ($sth)
 
 close ()
 Did we reach the end?
 
 current ()
 
 key ()
 
 next ()
 
 rewind ()
 Returns current record - fields as object properties, lowercase.
 
 valid ()
 

Protected Attributes

 $current
 

Detailed Description

Experimental pdo recordset.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ close()

pdo_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: