Welcome Guest, Not a member yet? Register   Sign In
Autoload a model and run a function?
#1

[eluser]chefnelone[/eluser]
Hello,

Is there any way to autoload a model and autorun a function (which is inside that model)

I have all the texts of my site storaged in a database, then regardless which page of the site is loading I need to recover those texts from the data base.

I think the best way to do this is to autoload a model run a function and fetch all the texts. Then I'd save them in a Session variable to access it whenever I need it.

I know I can autoload a model but not how to autorun a function, if possible.
If not, what can I do?


Messages In This Thread
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:00 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:04 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:10 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:11 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:12 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:42 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 02:56 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 04:01 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 04:09 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 04:17 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 04:38 AM
Autoload a model and run a function? - by El Forum - 01-21-2010, 05:56 AM
Autoload a model and run a function? - by El Forum - 01-22-2010, 01:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB