Welcome Guest, Not a member yet? Register   Sign In
Using one controller/method to validate and send different types of data to model
#4

[eluser]toopay[/eluser]
Share your "multiple sets of data" (example) here, so we can get an idea of how it might work on a helper or library. What i think is, in your case, we can use some library, something like...
Code:
//In controller, we can get sorted types 'flag', stored in some variable.
$this->load->library('typesorter');
$sorted_type = $this->typesorter->sort($some_pre_sorted_type);
//....


Messages In This Thread
Using one controller/method to validate and send different types of data to model - by El Forum - 04-17-2011, 09:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB