protected function _fetch()
{
if (!$this->_resource instanceof PDOStatement) {
$this->close();
return false;
}
try {
if ($result = $this->_resource->fetch(PDO::FETCH_NUM)) {
return array($this->_iterator++, $result);
}
} catch (PDOException $e) {
$this->close();
return false;
}
return null;
}