]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/stacker/file/class_BaseFileStack.php
Call these methods from the iterator.
[core.git] / inc / classes / main / stacker / file / class_BaseFileStack.php
index 2b2f53be48af0bcc08a2b4f99c668b7c78b11257..5d055bb78f1a8ebec694d8d7b6a956d0cb064373 100644 (file)
@@ -173,12 +173,12 @@ class BaseFileStack extends BaseStacker {
                $this->setIteratorInstance($iteratorInstance);
 
                // Is the file's header initialized?
-               if (!$this->isFileHeaderInitialized()) {
+               if (!$this->getIteratorInstance()->isFileHeaderInitialized()) {
                        // No, then create it (which may pre-allocate the stack)
-                       $this->createFileHeader();
+                       $this->getIteratorInstance()->createFileHeader();
 
                        // And pre-allocate a bit
-                       $this->preAllocateFile('file_stack');
+                       $this->getIteratorInstance()->preAllocateFile('file_stack');
                } // END - if
 
                // Load the file header