]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php
Database result added, SqlException added
[shipsimu.git] / inc / classes / interfaces / database / frontend / class_DatabaseFrontendInterface.php
index 14e89d99856885532bb5cb7e06a9a7be76ed7491..0b66c124ef0ccb7f6a3688f696e0122779c07d89 100644 (file)
@@ -38,7 +38,7 @@ interface DatabaseFrontendInterface extends FrameworkDatabaseInterface {
        function loadObject ();
 
        /**
-        * Makes sure that the database connection is alive
+        * Makes sure that the database connection is up and alive
         *
         * @return      void
         */
@@ -52,6 +52,8 @@ interface DatabaseFrontendInterface extends FrameworkDatabaseInterface {
         * @param       $tableName              Name of the database table
         * @param       $criteria               Search criteria class
         * @return      $resultData             Result data of the query
+        * @throws      UnsupportedCriteriaException    If the criteria is unsupported
+        * @throws      SqlException                                    If an SQL error occurs
         */
        function querySelect ($resultType, $tableName, Criteria $criteriaInstance);
 }