/**
* Current absolute seek position (returned by key())
*/
- private $seekPosition = -1;
+ private $seekPosition = FALSE;
/**
* Total entries (read from file)
*/
- private $totalEntriesFile = -1;
+ private $totalEntriesFile = FALSE;
/**
* Protected constructor
$this->partialStub('Please implement this method. seekPosition=' . $seekPosition);
}
+ /**
+ * Size of file stack
+ *
+ * @return $size Size (in bytes) of file
+ */
+ public function size () {
+ // Call the pointer object
+ $size = $this->getPointerInstance()->size();
+
+ // Return result
+ return $size;
+ }
+
/**
* Checks wether the current entry is valid (not at the end of the file).
* This method will return TRUE if an emptied (nulled) entry has been found.