]> git.mxchange.org Git - core.git/commitdiff
Added missing method.
authorRoland Häder <haeder@hmmdeutschland.de>
Tue, 24 Jun 2014 06:43:05 +0000 (08:43 +0200)
committerRoland Häder <haeder@hmmdeutschland.de>
Tue, 24 Jun 2014 06:43:05 +0000 (08:43 +0200)
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
inc/classes/main/file_directories/output/class_FrameworkFileOutputPointer.php

index 35ff72e1e8966b16b31014d51296733c03f8e6c7..aa8f1a141f4c50aee2b22d8b51a4d462a253e336 100644 (file)
@@ -102,6 +102,18 @@ class FrameworkFileOutputPointer extends BaseFileIo implements OutputPointer {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
+       /**
+        * Writes at given position by seeking to it.
+        *
+        * @param       $seekPosition   Seek position in file
+        * @param       $data                   Data to be written
+        * @return      mixed                   Number of writes bytes or FALSE on error
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function writeAtPosition ($seedPosition, $data) {
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
+
        /**
         * Advances to next "block" of bytes
         *