]> git.mxchange.org Git - core.git/commitdiff
Removed declarations + final.
authorRoland Haeder <roland@mxchange.org>
Wed, 21 May 2014 20:08:45 +0000 (22:08 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 21 May 2014 20:08:45 +0000 (22:08 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/file_directories/class_BaseFile.php
inc/classes/main/file_directories/index/class_IndexFile.php

index f286fe3a7b1183a91cf54ad7685e1a489e148ac7..8881b6a64b60cbc55e3c97c401a9cbae1fd6a1b5 100644 (file)
@@ -104,7 +104,7 @@ class BaseFile extends BaseFrameworkSystem {
         *
         * @return      $seekPosition   Current seek position
         */
         *
         * @return      $seekPosition   Current seek position
         */
-       public final function determineSeekPosition () {
+       public function determineSeekPosition () {
                return $this->getPointerInstance()->determineSeekPosition();
        }
 
                return $this->getPointerInstance()->determineSeekPosition();
        }
 
index c65bed4d3757dc3a4a911a7b9a0652e2ff4173dc..d416b240b14a771fcb63909fb26e0a90fe14dec5 100644 (file)
@@ -48,84 +48,6 @@ class IndexFile extends BaseFile implements InputOutputPointer {
                // Return the prepared instance
                return $fileInstance;
        }
                // Return the prepared instance
                return $fileInstance;
        }
-
-       /**
-        * Determines seek position
-        *
-        * @return      $seekPosition   Current seek position
-        * @todo        0% done
-        */
-       public final function determineSeekPosition () {
-               $this->partialStub('Unfinished method.');
-       }
-
-       /**
-        * Seek to given offset (default) or other possibilities as fseek() gives.
-        *
-        * @param       $offset         Offset to seek to (or used as "base" for other seeks)
-        * @param       $whence         Added to offset (default: only use offset to seek to)
-        * @return      $status         Status of file seek: 0 = success, -1 = failed
-        * @todo        0% done
-        */
-       public function seek ($offset, $whence = SEEK_SET) {
-               $this->partialStub('Unfinished method.');
-       }
-
-       /**
-        * Size of this file
-        *
-        * @return      $size   Size (in bytes) of file
-        * @todo        Handle seekStatus
-        * @todo        0% done
-        */
-       public function size () {
-               $this->partialStub('Unfinished method.');
-       }
-
-       /**
-        * Read data a file pointer
-        *
-        * @return      mixed   The result of fread()
-        * @throws      NullPointerException    If the file pointer instance
-        *                                                                      is not set by setPointer()
-        * @throws      InvalidResourceException        If there is being set
-        */
-       public function readFromFile () {
-               $this->partialStub('Unfinished method.');
-       }
-
-       /**
-        * Reads given amount of bytes from file.
-        *
-        * @param       $bytes  Amount of bytes to read
-        * @return      $data   Data read from file
-        */
-       public function read ($bytes) {
-               $this->partialStub('bytes=' . $bytes);
-       }
-
-       /**
-        * Write data to a file pointer
-        *
-        * @param       $dataStream             The data stream we shall write to the file
-        * @return      mixed                   Number of writes bytes or FALSE on error
-        * @throws      NullPointerException    If the file pointer instance
-        *                                                                      is not set by setPointer()
-        * @throws      InvalidResourceException        If there is being set
-        *                                                                                      an invalid file resource
-        */
-       public function writeToFile ($dataStream) {
-               $this->partialStub('dataStream=' . $dataStream);
-       }
-
-       /**
-        * Rewinds to the beginning of the file
-        *
-        * @return      $status         Status of this operation
-        */
-       public function rewind () {
-               $this->partialStub('Unfinished method.');
-       }
 }
 
 // [EOF]
 }
 
 // [EOF]