_sequenceNumber++; } /** * @override */ public function lastInsertId($table = null, $field = null) { return $this->_sequenceNumber - 1; } /** * @override */ public function currId($seqName) { return $this->_sequenceNumber; } /* Mock API */ public function reset() { $this->_sequenceNumber = 0; } } ?>