Welcome Guest, Not a member yet? Register   Sign In
Can an controller extend an other?
#3

[eluser]kbkb[/eluser]
hi! Thats a really nice approach. But just let me sure, that i get it right:

You write, that you have in your MY_Controller code which specifies $this->data['main_menu_view'];

( I think thats in the constructor from MY_Controller? right?



And in the end you parse the whole $this->data (which is filled from MY_ AND the real specified controller).


I think about filling in content which is generated from an own view Smile

But the hottest question: I cant extend an other controller! I get an error that the Class "MY_controller" is not found. Where have i put the controller to extend from?


Messages In This Thread
Can an controller extend an other? - by El Forum - 09-01-2009, 04:55 AM
Can an controller extend an other? - by El Forum - 09-01-2009, 05:03 AM
Can an controller extend an other? - by El Forum - 09-01-2009, 05:47 AM
Can an controller extend an other? - by El Forum - 09-01-2009, 06:04 AM
Can an controller extend an other? - by El Forum - 09-01-2009, 07:10 AM
Can an controller extend an other? - by El Forum - 09-01-2009, 07:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB