Interface 'Block' is implemented also here ...
[core.git] / 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]