Interface 'Block' is implemented also here ...
authorRoland Haeder <roland@mxchange.org>
Wed, 4 Jun 2014 21:29:09 +0000 (23:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 4 Jun 2014 21:29:09 +0000 (23:29 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/index/class_BaseIndex.php

index adbb716..beda05c 100644 (file)
@@ -296,6 +296,15 @@ class BaseIndex extends BaseFrameworkSystem {
                throw new UnsupportedOperationException(array($this, __FUNCTION__, $this->getIteratorInstance()->getPointerInstance()), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
                throw new UnsupportedOperationException(array($this, __FUNCTION__, $this->getIteratorInstance()->getPointerInstance()), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
+       /**
+        * "Getter" for file size
+        *
+        * @return      $fileSize       Size of currently loaded file
+        */
+       public function getFileSize () {
+               // Call iterator's method
+               return $this->getIteratorInstance()->getFileSize();
+       }
 }
 
 // [EOF]
 }
 
 // [EOF]