From f3fbf700c63f8a49a4adb793d1cefd4d27fdcd3f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 4 Jun 2014 23:29:09 +0200 Subject: [PATCH] Interface 'Block' is implemented also here ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/index/class_BaseIndex.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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] -- 2.30.2