Welcome Guest, Not a member yet? Register   Sign In
Global Model
#1

[eluser]Bernat Bonet[/eluser]
Hi all, I want to use a object model across al application.
I've a controller that loads this model and I want to use into another controllers.
How can I do that ?

I've tried to create a config variable that saves config model, but doesn't work.
I don't want to create n variables for model properties.

Is there a way to solve that ?

Thanks a lot.
#2

[eluser]Bernat Bonet[/eluser]
I've been reading information, and I think if we load the model in autoload file, its object will be available in all application; but, what it means, only in the user session, or in all available sessions ??




Theme © iAndrew 2016 - Forum software by © MyBB