Interface 'Block' is implemented also here ...
[core.git] / 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);
        }
 
+       /**
+        * "Getter" for file size
+        *
+        * @return      $fileSize       Size of currently loaded file
+        */
+       public function getFileSize () {
+               // Call iterator's method
+               return $this->getIteratorInstance()->getFileSize();
+       }
 }
 
 // [EOF]