public function getThemes()
{
$themes = array();
$themeFolder = new Folder(APP . 'View' . DS . 'theme' . DS);
$_themes = $themeFolder->read(true, true);
foreach ($_themes[0] as $theme) {
$themes[$theme] = Inflector::camelize($theme);
}
$themeFolder = new Folder(WWW_ROOT . 'theme' . DS);
$_themes = array_merge($themes, $themeFolder->read(true, true));
foreach ($_themes[0] as $theme) {
$themes[$theme] = Inflector::camelize($theme);
}
return $themes;
}