public function getThemeConfig($theme)
	{
		Yii::import('mustangostang.spyc.Spyc');
		define('DS', DIRECTORY_SEPARATOR);

		$themeName = $this->urlTitle($theme);
		$configPath = Yii::getPathOfAlias('webroot.themes.'.$theme).DS.$themeName.'.yaml';

		if(file_exists($configPath))
			return Spyc::YAMLLoad($configPath);
		else
			return null;
	}
public function getThemeConfig($theme)
	{
		Yii::import('mustangostang.spyc.Spyc');
		define('DS', DIRECTORY_SEPARATOR);

		$themeName = $this->urlTitle($theme);
		$configPath = Yii::getPathOfAlias('webroot.themes.'.$theme).DS.$themeName.'.yaml';

		if(file_exists($configPath))
			return Spyc::YAMLLoad($configPath);
		else
			return null;
	}
public function getThemeConfig ( $ theme ) { Yii :: import ( 'mustangostang.spyc.Spyc' ) ; define ( 'DS' , DIRECTORY_SEPARATOR ) ; $ themeName = $ this -> urlTitle ( $ theme ) ; $ configPath = Yii :: getPathOfAlias ( 'webroot.themes.' . $ theme ) . DS . $ themeName . '.yaml' ; if ( file_exists ( $ configPath ) ) return Spyc :: YAMLLoad ( $ configPath ) ; else return null ; }
Get theme config from yaml file

@param string $theme
@return array
Get theme config from yaml file