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

[eluser]kbkb[/eluser]
I would like an master controller from which my other normal controller can extend.

I want to specify things like

$this->view("head", $data);

on one single point. At the moment i have to specify in every controller, or even worse: in every single action, the template for the page-head with generated variables like menus.


Or is there a better way to specify one master layout which can render inerhit other layouts?


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