]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/database/class_BaseDatabaseWrapper.php
Renamed DatabaseResult to CachedDatabaseResult as it is actually "caching" the
[core.git] / inc / classes / main / database / class_BaseDatabaseWrapper.php
index 3155f823326d14f87d064e7298140233dff87c1c..77e530fd8e3fb64f73d1320d1b1a20ee05b6f271 100644 (file)
@@ -194,7 +194,8 @@ class BaseDatabaseWrapper extends BaseFrameworkSystem {
                        }
                }
 
-               // Create an instance of a DatabaseResult class with the given result
+               // Create an instance of a CachedDatabaseResult class with the given result
+               // @TODO Minor: Update above comment to e.g. BaseDatabaseResult
                $resultInstance = ObjectFactory::createObjectByConfiguredName('database_result_class', array($result));
 
                // And return the instance
@@ -208,7 +209,7 @@ class BaseDatabaseWrapper extends BaseFrameworkSystem {
         * @param       $onlyKeys                       Only use these keys for a cache key
         * @return      $numRows                        Numbers of rows of database entries
         */
-       public function doSelectCountByCriteria (Criteria $criteriaInstance, $onlyKeys =  array()) {
+       public function doSelectCountByCriteria (Criteria $criteriaInstance, $onlyKeys = array()) {
                // Total numbers is -1 so we can distinglish between failed and valid queries
                $numRows = 0;