Moved getIndexKey() from hub project because this is very generic code.
authorRoland Häder <roland@mxchange.org>
Sun, 6 Nov 2011 03:19:03 +0000 (03:19 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 6 Nov 2011 03:19:03 +0000 (03:19 +0000)
inc/classes/main/database/class_BaseDatabaseWrapper.php

index 25b3477..c26f945 100644 (file)
@@ -118,6 +118,15 @@ class BaseDatabaseWrapper extends BaseFrameworkSystem {
                $this->getDatabaseInstance()->queryUpdateDataSet($dataSetInstance);
        }
 
+       /**
+        * Getter for index key
+        *
+        * @return      $indexKey       Index key
+        */
+       public final function getIndexKey () {
+               return $this->getDatabaseInstance()->getIndexKey();
+       }
+
        /**
         * Do a "select" query on the current table with the given search criteria and
         * store it in cache for later usage