Files
moodle/lib/dml/pdo_moodle_recordset.php
T

39 lines
615 B
PHP

<?php
/**
* Experimental pdo recordset
* @package dmlib
*/
class adodb_moodle_recordset implements moodle_recordset {
private $sht;
public function __construct($sth) {
$this->sth = $sth;
}
public function current() {
error('TODO');
}
public function key() {
error('TODO');
}
public function next() {
error('TODO');
}
public function rewind() {
error('TODO');
}
public function valid() {
error('TODO');
}
public function close() {
$this->sth->closeCursor();
$this->sth = null;
}
}