09-01-2009, 04:55 AM
[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?
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?