From: Roland Häder Date: Sun, 6 Nov 2011 03:19:03 +0000 (+0000) Subject: Moved getIndexKey() from hub project because this is very generic code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d511c5d7ad0170ee4c593fd2a0f50c738cce375a;p=core.git Moved getIndexKey() from hub project because this is very generic code. --- diff --git a/inc/classes/main/database/class_BaseDatabaseWrapper.php b/inc/classes/main/database/class_BaseDatabaseWrapper.php index 25b34774..c26f945e 100644 --- a/inc/classes/main/database/class_BaseDatabaseWrapper.php +++ b/inc/classes/main/database/class_BaseDatabaseWrapper.php @@ -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