]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/file_directories/class_BaseFileIo.php
Renamed one getSeekPosition() to determineSeekPosition().
[core.git] / inc / classes / main / file_directories / class_BaseFileIo.php
index f33024c69bd04934d1485521cafad296da6c0b06..16e905ddab8188b0e23ee165248803e33a933b50 100644 (file)
@@ -124,11 +124,11 @@ class BaseFileIo extends BaseFrameworkSystem {
        }
 
        /**
-        * "Getter" for seek position
+        * Determines seek position
         *
         * @return      $seekPosition   Current seek position
         */
-       public final function getSeekPosition () {
+       public final function determineSeekPosition () {
                return ftell($this->getPointer());
        }
 
@@ -158,14 +158,14 @@ class BaseFileIo extends BaseFrameworkSystem {
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
 
                // Get current seek position
-               $seekPosition = $this->getSeekPosition();
+               $seekPosition = $this->determineSeekPosition();
 
                // Seek to end
                $seekStatus = $this->seek(0, SEEK_END);
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] seekStatus=%d', __METHOD__, __LINE__, $seekStatus));
 
                // Get position again  (which is the end of the file)
-               $size = $this->getSeekPosition();
+               $size = $this->determineSeekPosition();
 
                // Reset seek position to old
                $this->seek($seekPosition);