Welcome Guest, Not a member yet? Register   Sign In
Load model in helper
#3

(This post was last modified: 12-27-2024, 09:55 AM by 4usol.)

@captain-sensible
Thank for your detailed code, it makes something clear for me.

But let me ask again: Is there any way to setup a global db-connection, to avoid, setup the db connection in each model again and again?

Also my main-question, is how i can load the model in the helper, look at my code, i dont understand why i cannot go in this way...
Reply


Messages In This Thread
Load model in helper - by 4usol - 12-27-2024, 05:41 AM
RE: Load model in helper - by captain-sensible - 12-27-2024, 06:13 AM
RE: Load model in helper - by 4usol - 12-27-2024, 09:53 AM
RE: Load model in helper - by captain-sensible - 12-28-2024, 04:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB