]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php
Fake class names added, insertDataSet() stub added, dataset criteria added
[shipsimu.git] / inc / classes / interfaces / database / class_FrameworkDatabaseInterface.php
index 34c4bcc6e24e54a2568916c42eac994a5254e4ce..d1a3266f72c0138b5cb06e14a1ba4fd057d13ee3 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * The general interface for all other database interfaces
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
@@ -19,7 +19,7 @@
  * 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/>.
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 interface FrameworkDatabaseInterface extends FrameworkInterface {
        /**
@@ -30,8 +30,9 @@ interface FrameworkDatabaseInterface extends FrameworkInterface {
         * @param               $object An instance to the object we want to save
         * @return      void
         * @see         limitObject(ObjectLimits)       limitObject
+        * @deprecated
         */
-       function saveObject ($object);
+       function saveObject (FrameworkInterface $object);
 
        /**
         * Analyses if a unique ID has already been used or not. This method does
@@ -62,6 +63,7 @@ interface FrameworkDatabaseInterface extends FrameworkInterface {
         * @throws      NoObjectException               If $dbInstance is not an object
         * @throws      MissingMethodException  If the required method
         *                                                              isUniqueIdUsed() was not found
+        * @deprecated
         */
        function getObjectFromCachedData ($idNumber);
 }