Welcome Guest, Not a member yet? Register   Sign In
Calling method inside controller from view
#10

[eluser]techgnome[/eluser]
I'd loop through the data, and use the ID to get more info, then using the ID as the key, add the returned data to an array... all in the model... from the view, it *should* be as simple then as echo $bidcounts[$projectid] -- if it's a single value ... or echo $moredata[$projectid]->bidcount ... at least that's how I'd start off... seems to make sense to me.

-tg


Messages In This Thread
Calling method inside controller from view - by El Forum - 02-23-2010, 05:24 PM
Calling method inside controller from view - by El Forum - 02-23-2010, 05:44 PM
Calling method inside controller from view - by El Forum - 02-23-2010, 06:06 PM
Calling method inside controller from view - by El Forum - 02-24-2010, 03:17 AM
Calling method inside controller from view - by El Forum - 02-24-2010, 03:41 AM
Calling method inside controller from view - by El Forum - 02-24-2010, 03:45 AM
Calling method inside controller from view - by El Forum - 02-24-2010, 04:20 AM
Calling method inside controller from view - by El Forum - 02-25-2010, 09:20 AM
Calling method inside controller from view - by El Forum - 09-28-2010, 08:57 AM
Calling method inside controller from view - by El Forum - 09-28-2010, 09:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB