]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/middleware/io/class_FileIOHandler.php
Code merge from latest ship-simu code
[mailer.git] / inc / classes / middleware / io / class_FileIOHandler.php
index 18147427c1876ae9c699e33282d60543ddc9dde6..c514a4abc2b1dedca81c941973b8790a674a0646 100644 (file)
@@ -2,6 +2,25 @@
 /**
  * This is a file IO handler. It handles reading from and writing to files.
  * Missing paths in writing process will be automatically created.
+ *
+ * @author             Roland Haeder <webmaster@mxchange.org>
+ * @version            0.3.0
+ * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.mxchange.org
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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 FileIOHandler extends BaseMiddleware {
        /**
@@ -24,12 +43,12 @@ class FileIOHandler extends BaseMiddleware {
         *
         * @return      void
         */
-       private function __construct () {
+       protected function __construct () {
                // Call parent constructor
-               parent::constructor(__CLASS__);
+               parent::__construct(__CLASS__);
 
                // Set description
-               $this->setPartDescr("Datei-Ein-/Ausgabe-Handler");
+               $this->setObjectDescription("Datei-Ein-/Ausgabe-Handler");
 
                // Create an unique ID
                $this->createUniqueID();
@@ -68,7 +87,7 @@ class FileIOHandler extends BaseMiddleware {
        public final static function getInstance () {
                return self::$thisInstance;
        }
-       
+
        /**
         * Setter for the *real* file input instance
         *