Welcome Guest, Not a member yet? Register   Sign In
Where to format data query results
#4

[eluser]TWP Marketing[/eluser]
So you have a generic method to read a table. Now you can call that method from another model method (Same model file) and process the result(s) from the generic method to format it as needed by the controller. All the work is done in the model.

[EDIT]
If you want your model method(s) to be accessible from other models, you might look into a library instead.
The User Guide is your friend<G>...


Messages In This Thread
Where to format data query results - by El Forum - 08-21-2012, 10:40 AM
Where to format data query results - by El Forum - 08-21-2012, 10:54 AM
Where to format data query results - by El Forum - 08-21-2012, 11:00 AM
Where to format data query results - by El Forum - 08-21-2012, 11:25 AM
Where to format data query results - by El Forum - 08-21-2012, 02:52 PM
Where to format data query results - by El Forum - 08-22-2012, 01:01 AM
Where to format data query results - by El Forum - 08-22-2012, 04:22 AM
Where to format data query results - by El Forum - 09-17-2012, 06:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB