Added new classes for file system and interfaces for it + introduced CloseableFile.
[core.git] / inc / main / classes / file_directories / class_BaseAbstractFile.php
index e26c58bbcefd3b06b4c8364a6b902e8fafa889f9..862c725c47e7e06e4f2f99b15e9c673cdbaed712 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/>.
  */
  * 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
         */
        /**
         * Counter for total entries
         */
@@ -133,7 +133,7 @@ class BaseAbstractFile extends BaseFrameworkSystem {
         *
         * @return      void
         */
         *
         * @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()));
 
                // Debug message
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d]: fileName=%s - CALLED!', __METHOD__, __LINE__, $this->getFileName()));