From: Roland Haeder Date: Wed, 4 Jun 2014 21:29:09 +0000 (+0200) Subject: Interface 'Block' is implemented also here ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3fbf700c63f8a49a4adb793d1cefd4d27fdcd3f;p=core.git Interface 'Block' is implemented also here ... Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/index/class_BaseIndex.php b/inc/classes/main/index/class_BaseIndex.php index adbb7160..beda05c3 100644 --- a/inc/classes/main/index/class_BaseIndex.php +++ b/inc/classes/main/index/class_BaseIndex.php @@ -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]