summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2020-06-02 15:16:10 +0200
committerUrban Müller2020-06-02 15:16:10 +0200
commit7d84569b53e05f19b6d2624245a4476ba8a03c83 (patch)
tree00e6f2e2f62f19d2babe561db86ce76c2c331d51
parente9057cbea41b418a92ab41e91a1d01808906bdd0 (diff)
downloaditools-7d84569b53e05f19b6d2624245a4476ba8a03c83.tar.gz
itools-7d84569b53e05f19b6d2624245a4476ba8a03c83.tar.bz2
itools-7d84569b53e05f19b6d2624245a4476ba8a03c83.zip
declare static func as such
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 5b35fc1..2d4be89 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -112,7 +112,7 @@ function __construct($p = array(), $query = null)
* Factory: Create classes of all database tables. Call statically.
* @param $p array(key => value) of configuration data
*/
-function createclasses($p = array())
+static function createclasses($p = array())
{
# Make sure singleton exists
$dbi = $GLOBALS['it_dbi'] ? $GLOBALS['it_dbi'] : new it_dbi($p);