X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fdatabase%2Fclass_FrameworkDatabaseInterface.php;h=d1a3266f72c0138b5cb06e14a1ba4fd057d13ee3;hb=3cdaf6ce082d9e7a20cbeb06d525c28b3dd95c15;hp=34c4bcc6e24e54a2568916c42eac994a5254e4ce;hpb=b912eda46059527fc0475e043944c3ebff47fbcd;p=shipsimu.git diff --git a/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php b/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php index 34c4bcc..d1a3266 100644 --- a/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php +++ b/inc/classes/interfaces/database/class_FrameworkDatabaseInterface.php @@ -2,7 +2,7 @@ /** * The general interface for all other database interfaces * - * @author Roland Haeder + * @author Roland Haeder * @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 . + * along with this program. If not, see . */ 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); }