]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/file_directories/class_BaseFile.php
Fixed: Fatal error: Access to undeclared static property: BaseFrameworkSystem::$hashL...
[core.git] / inc / classes / main / file_directories / class_BaseFile.php
index 7d07de9af4ebc55cdebaf7c29d359c1118f8d3da..806745d11c2a8716d35a7cda0ac08ec80005baa8 100644 (file)
@@ -79,11 +79,6 @@ class BaseFile extends BaseFrameworkSystem {
         */
        const GAPS_INDEX_END = 'end';
 
-       /**
-        * Length of output from hash()
-        */
-       private static $hashLength = NULL;
-
        /**
         * Counter for total entries
         */
@@ -277,7 +272,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 +294,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 +314,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__));
        }