Welcome Guest, Not a member yet? Register   Sign In
controller from controller - once and for all
#13

[eluser]xwero[/eluser]
The idea of the mihailt’s function is to use the content of another controller in the current controller.
Code:
$other_ctrl = load_controller('othercontroller');
$data['header'] = $other_ctrl->method($this->uri->segment(3));
The wick library makes this possible and HMVC takes it to an whole other level.


Messages In This Thread
controller from controller - once and for all - by El Forum - 03-12-2009, 03:22 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 03:50 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 04:06 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 04:44 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 04:59 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 05:09 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 05:24 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 05:56 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 06:39 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 06:50 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 06:55 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 07:24 AM
controller from controller - once and for all - by El Forum - 03-12-2009, 07:35 AM
controller from controller - once and for all - by El Forum - 03-13-2009, 07:12 AM
controller from controller - once and for all - by El Forum - 06-17-2009, 12:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB