Added new classes for file system and interfaces for it + introduced CloseableFile.
[core.git] / inc / main / classes / file_directories / class_BaseAbstractFile.php
index e26c58b..862c725 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseAbstractFile extends BaseFrameworkSystem {
+class BaseAbstractFile extends BaseFrameworkSystem implements FilePointer, CloseableFile {
        /**
         * Counter for total entries
         */
@@ -133,7 +133,7 @@ class BaseAbstractFile extends BaseFrameworkSystem {
         *
         * @return      void
         */
-       private function closeFile () {
+       public function closeFile () {
                // Debug message
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d]: fileName=%s - CALLED!', __METHOD__, __LINE__, $this->getFileName()));