Пример #1
0
 /**
  * $_currentKeyと$_currentValueを取得する
  *
  * @param void
  * @return void
  */
 private function _fetchCurrent()
 {
     if ($this->_currentId === false || ($pair = $this->_kvs->findById($this->_currentId)) === null) {
         $this->_currentKey = $this->_currentValue = null;
     } else {
         $this->_currentKey = $pair['key'];
         $this->_currentValue = $pair['value'];
     }
 }