[Solar-talk] yui-ext current theme

Rodrigo Moraes rodrigo.moraes at gmail.com
Fri Nov 3 03:41:40 PST 2006


On 11/3/06, Jeff Surgeson wrote:
> in my controller.......
> public $text;
> public funtion actionHome() {
>         $this->text = $this->layout->getTheme();
> }
>
> in my view.....
> echo $this->text;
> solar::dump($this->text);
>
> both return null?

Ah, this is because the default theme is not set in Tipos_Layout, only
in the helper. The default theme value should be moved from the helper
config to the layout container config (so it will always have a
value), for consistence. Sorry about this; I will take a better look
before I update the helper/layout classes.

rodrigo


More information about the solar-talk mailing list