public function seek($position) { if (!is_null($this->_cacheData)) { $position = (int) $position; if ($position < 0 || $position > $this->count()) { throw new Zend_Db_Table_Rowset_Exception("Illegal index {$position}"); } $this->_pointer = $position; return $this; } else { return parrent::seek($position); } }