Welcome Guest, Not a member yet? Register   Sign In
Database connection in static method

In CI4, how would you create a static variable holding the $db connection to use inside of static methods? Everything I have tried either brings it only as a non-static var or doesn't seem to work. I even tried Manual Model Creation but was unable to get that to work either.


Messages In This Thread
Database connection in static method - by Cyto5 - 06-26-2020, 04:43 PM

Theme © iAndrew 2016 - Forum software by © MyBB