public function next() { $this->position++; if (false === ($row = $this->sth->fetchArray())) { $this->sth = null; return; } $this->currentRecord = new Gpf_Data_Record(array_keys($row), array_values($row)); }
public function prepare($sqlString) { $sth = new Gpf_DbEngine_Driver_Mysql_Statement(); $sth->init($sqlString, $this->handle); return $sth; }