Welcome Guest, Not a member yet? Register   Sign In
Am I respecting MVC Pattern
#2

[eluser]CroNiX[/eluser]
In the controller, I would load/assemble the menu view and pass it to the view instead of using ajax.


Code:
$view_data['menu'] = $this->load->view('menu', $menu_data, TRUE);


Messages In This Thread
Am I respecting MVC Pattern - by El Forum - 05-17-2012, 07:05 AM
Am I respecting MVC Pattern - by El Forum - 05-17-2012, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB