]> git.mxchange.org Git - core.git/commitdiff
No iterator here.
authorRoland Haeder <roland@mxchange.org>
Sat, 31 May 2014 11:47:40 +0000 (13:47 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 31 May 2014 11:47:40 +0000 (13:47 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/file_directories/class_BaseFile.php

index 7d07de9af4ebc55cdebaf7c29d359c1118f8d3da..a625624ee03df1040dfa2d38a3ab08696d6aa7ee 100644 (file)
@@ -277,7 +277,7 @@ y    * @return      void
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
 
                // Get key (= seek position)
-               $seekPosition = $this->getIteratorInstance()->key();
+               $seekPosition = $this->key();
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] Setting seekPosition=%s', __METHOD__, __LINE__, $seekPosition));
 
                // And set it here
@@ -299,7 +299,7 @@ y    * @return      void
                assert(is_callable(array($this, 'flushFileHeader')));
 
                // Seek to beginning of file
-               $this->getIteratorInstance()->rewind();
+               $this->rewind();
 
                // And update seek position ...
                $this->updateSeekPosition();
@@ -319,7 +319,7 @@ y    * @return      void
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
 
                // Seek to currently ("old") saved position
-               $this->getIteratorInstance()->seek($this->getSeekPosition());
+               $this->seek($this->getSeekPosition());
 
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] EXIT!!', __METHOD__, __LINE__));
        }