]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/result/class_DatabaseResult.php
User login (non-guest) basicly finished, news stubs added, registration and final...
[shipsimu.git] / inc / classes / main / result / class_DatabaseResult.php
index c6a0b1149a9d3e1907e019f51711ab0c68e5c74e..017547259c44b709e34d0c3920e322c1ef76683d 100644 (file)
@@ -22,6 +22,9 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 class DatabaseResult extends BaseFrameworkSystem implements SearchableResult, SeekableIterator {
+       // Exception constants
+       const EXCEPTION_INVALID_DATABASE_RESULT = 0x0b0;
+
        /**
         * Current position in array
         */
@@ -179,7 +182,7 @@ class DatabaseResult extends BaseFrameworkSystem implements SearchableResult, Se
         * @return      void
         */
        public function rewind () {
-               $this->currentPos = 0;
+               $this->currentPos = -1;
        }
 
        /**