Definition at line 41 of file site_manager.inc.
◆ formatThemeName()
static SiteManager::formatThemeName |
( |
|
$site | ) |
|
|
static |
◆ getThemeDirectory()
static SiteManager::getThemeDirectory |
( |
|
$theme = "" | ) |
|
|
static |
Definition at line 78 of file site_manager.inc.
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"];
◆ getThemeOptions()
static SiteManager::getThemeOptions |
( |
| ) |
|
|
static |
◆ getThemes()
static SiteManager::getThemes |
( |
| ) |
|
|
static |
◆ registerTheme()
static SiteManager::registerTheme |
( |
|
$component, |
|
|
|
$name, |
|
|
|
$description |
|
) |
| |
|
static |
Definition at line 50 of file site_manager.inc.
55 "description" => $description,
getComponent($component)
Retrieve the component definition record for the specified component.
◆ registerThemes()
static SiteManager::registerThemes |
( |
| ) |
|
|
static |
Definition at line 59 of file site_manager.inc.
static fireEvent($event, $parameter=null, $mustBeConsumed=false)
Fire an event to all subscribers as detailed in their manifests.
◆ SiteManager()
SiteManager::SiteManager |
( |
| ) |
|
◆ upgradeComponent()
static SiteManager::upgradeComponent |
( |
|
$version | ) |
|
|
static |
◆ $themes
SiteManager::$themes = null |
|
static |
The documentation for this class was generated from the following file: