]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/iterator/file/class_FileIterator.php
This getter needs also to be public and be called through iterator.
[core.git] / inc / classes / main / iterator / file / class_FileIterator.php
index 35ceedd7b0e1505441977bdda03adfdecf90fe07..b40ef6b4d6a271f719f0c86d17f0b29736961d52 100644 (file)
@@ -258,6 +258,16 @@ class FileIterator extends BaseIterator implements SeekableWritableFileIterator
                // Call block instance
                $this->getBlockInstance()->updateSeekPosition();
        }
+
+       /**
+        * Getter for total entries
+        *
+        * @return      $totalEntries   Total entries in this file
+        */
+       public final function getCounter () {
+               // Call block instance
+               return $this->getBlockInstance()->getCounter();
+       }
 }
 
 // [EOF]