From 8c3c49e3b5a05337fef3b6af2656ffa5401bad9c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 24 Sep 2021 10:23:11 +0200 Subject: [PATCH] add method useViews() to turn on/off the use of views --- SeedDMS_Core/Core/inc.DBAccessPDO.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SeedDMS_Core/Core/inc.DBAccessPDO.php b/SeedDMS_Core/Core/inc.DBAccessPDO.php index 947c33d54..396942afe 100644 --- a/SeedDMS_Core/Core/inc.DBAccessPDO.php +++ b/SeedDMS_Core/Core/inc.DBAccessPDO.php @@ -245,6 +245,15 @@ class SeedDMS_Core_DatabaseAccess { return $this->_driver; } /* }}} */ + /** + * Turn on views instead of temp. tables + * + * @param bool $onoff turn use of views instead of temp. table on/off + */ + function useViews($onoff) { /* {{{ */ + $this->_useviews = $onoff; + } /* }}} */ + /** * Destructor of SeedDMS_Core_DatabaseAccess */