]> git.mxchange.org Git - core.git/commitdiff
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 adbb71608c459bf3eac4f88657ae5b297a8d5083..beda05c372ac306a299b90749905f6722e0ee333 100644 (file)
@@ -296,6 +296,15 @@ class BaseIndex extends BaseFrameworkSystem {
                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]