Welcome Guest, Not a member yet? Register   Sign In
calling models within a view
#2

[eluser]InsiteFX[/eluser]
Create a Library that loads you models

Then in you controller load the library and call the library methods to get the data.

Now if you need to update something it will be in your library and model.

Your second question: Create model say called Panel and add all your Panel Methods in it.

So now you would have Library (Panel) and Model (Panel_model)
Name then what you want but do not name them the same name.

InsiteFX


Messages In This Thread
calling models within a view - by El Forum - 02-26-2011, 06:16 AM
calling models within a view - by El Forum - 02-26-2011, 01:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB