[Solar-talk] yui-ext current theme

Jeff Surgeson solar at 3hex.com
Fri Nov 3 03:26:54 PST 2006


Hi Rodrigo

> > How would I find what the active/current theme
>
> The property was public. It was on my todo to add $layout->getTheme()
> and $layout->setTheme(). Now that you asked, I've added them and the
> property is now protected.

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?

-- 
Jeff Surgeson / South Africa


More information about the solar-talk mailing list