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 25b34774a5ecb696d6e10db4b59f5d68368f9429..c26f945ebee31fc7589cf33695ad81b25e023c8e 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