An implmentation of the GUIManagerInterface. This implementation
is pretty straightforward and does not maintain any sort of caching data structures. Theme states are dealt with on the fly whenever one of the load/replace/save/delete methods is called.
This class provides methods for theme management: saving/loading of theme state, obtaining information about supported GUI components, etc.
Located in /harmoni/core/GUIManager/GUIManager.class.php (line 26)
OsidManager | --OutputHandler | --GUIManagerAbstract | --GUIManager
The database connection as returned by the DBHandler.
The database connection as returned by the DBHandler.
A list of default themes anyone can access. The array should contain several arrays with two parameters. The first is a display name.
The second is the name of the Theme's class
Inherited from OutputHandler
OutputHandler::$_head
Assign the configuration of this Manager. Valid configuration options are as
follows: database_index integer database_name string default_theme object Theme
Assign the context of this OsidManager.
Creates a new theme object with an Id
Deletes the style collections from the database
Deletes the components for the property from the db
Deletes the style properties from the database
Deletes the theme from the database
Answers the class of the style collections being used by this theme
Returns the path that contains all the supported components.
Answers the style property containing the Global Background Color for the theme
Answers the style property containing the Global Font for the theme
Returns the path that contains all the supported layouts.
Return context of this OsidManager.
Returns the path that contains all the supported style component.
Returns the path that contains all the supported style properties.
Returns the path that contains all the supported themes.
Returns a list of components supported by the GUIManager.
Returns a list of layouts supported by the GUIManager.
Returns a list of style components supported by the GUIManager.
Returns a list of style properties supported by the GUIManager.
Returns a list of styleCollections supported by the GUIManager.
Loads the theme stored earlier with
. This method reverses the steps of
- saveTheme()
. It first obtains the database-stored theme, then instantiates a Theme object with the data.
- saveTheme()
Answers a list of themes that the User has access to edit
Answers the set of templates stored in the Database Display name is 'Template'
Loads the Style Collections for the given theme_id from the database and adds them to the current theme
Loads the Style Components for the given property_id from the database and adds them to the style property
Loads the Style Properties for the given collection_id from the database and adds them to the style collection.
Load theme
. This method reverses the steps of
- saveThemeState()
. It first obtains the database-stored theme state, unserializes it, and finally imports it into the theme.
- saveThemeState()
Saves the Style Collections associated with the current theme
Saves the style components of a style property
Saves the style properties of a style collection with id $id
Saves the current theme by updating the theme settings in the database
Inherited From GUIManagerAbstract
GUIManagerAbstract::deleteTheme()
GUIManagerAbstract::getComponentPath()
GUIManagerAbstract::getLayoutPath()
GUIManagerAbstract::getSCPath()
GUIManagerAbstract::getSPPath()
GUIManagerAbstract::getSupportedComponents()
GUIManagerAbstract::getSupportedLayouts()
GUIManagerAbstract::getSupportedSCs()
GUIManagerAbstract::getSupportedSPs()
GUIManagerAbstract::getSupportedThemes()
GUIManagerAbstract::getTheme()
GUIManagerAbstract::getThemePath()
GUIManagerAbstract::loadTheme()
GUIManagerAbstract::output()
GUIManagerAbstract::saveTheme()
GUIManagerAbstract::setTheme()
Inherited From OutputHandler
OutputHandler::assignConfiguration()
OutputHandler::assignOsidContext()
OutputHandler::attachToHarmoni()
OutputHandler::getHead()
OutputHandler::getOsidContext()
OutputHandler::output()
OutputHandler::setHead()
Inherited From OsidManager
OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()
Documentation generated on Wed, 19 Sep 2007 10:23:32 -0400 by phpDocumentor 1.3.0RC3