55 "description" => $description,
69 $themes = Cache::get(
"registered_themes");
84 return $config[
'homedir'] . DIRECTORY_SEPARATOR .
"templates";
89 if (!array_key_exists($theme,
$themes))
91 trace(
"Unknown theme '$theme' - using default", 2);
92 return $config[
'homedir'] . DIRECTORY_SEPARATOR .
"templates";
94 return $themes[$theme][
"directory"];
112 if (!
$site->theme)
return "Default";
126 $mgr->upgrade($version);
static fireEvent($event, $parameter=null, $mustBeConsumed=false)
Fire an event to all subscribers as detailed in their manifests.
getComponent($component)
Retrieve the component definition record for the specified component.
static using()
Import the datamodels, views and manifest for the specified component(s).
static formatThemeName($site)
static getThemeDirectory($theme="")
static registerTheme($component, $name, $description)
static upgradeComponent($version)