[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TThemeManager class
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TThemeManager.php 1536 2006-12-01 19:51:21Z xue $ |
Poids: | 437 lignes (13 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TThemeManager:: (7 méthodes):
init()
getTheme()
getAvailableThemes()
getBasePath()
setBasePath()
getBaseUrl()
setBaseUrl()
TTheme:: (7 méthodes):
__construct()
getName()
getBaseUrl()
getBasePath()
applySkin()
getStyleSheetFiles()
getJavaScriptFiles()
Classe: TThemeManager - X-Ref
TThemeManager classinit($config) X-Ref |
Initializes the module. This method is required by IModule and is invoked by application. param: TXmlElement module configuration |
getTheme($name) X-Ref |
param: string name of the theme to be retrieved return: TTheme the theme retrieved |
getAvailableThemes() X-Ref |
return: array list of available theme names |
getBasePath() X-Ref |
return: string the base path for all themes. It is returned as an absolute path. |
setBasePath($value) X-Ref |
param: string the base path for all themes. It must be in the format of a namespace. |
getBaseUrl() X-Ref |
return: string the base URL for all themes. |
setBaseUrl($value) X-Ref |
param: string the base URL for all themes. |
__construct($themePath,$themeUrl) X-Ref |
Constructor. param: string theme path param: string theme URL |
getName() X-Ref |
return: string theme name |
getBaseUrl() X-Ref |
return: string the URL to the theme folder (without ending slash) |
getBasePath() X-Ref |
return: string the file path to the theme folder |
applySkin($control) X-Ref |
Applies the theme to a particular control. The control's class name and SkinID value will be used to identify which skin to be applied. If the control's SkinID is empty, the default skin will be applied. param: TControl the control to be applied with a skin return: boolean if a skin is successfully applied |
getStyleSheetFiles() X-Ref |
return: array list of CSS files (URL) in the theme |
getJavaScriptFiles() X-Ref |
return: array list of Javascript files (URL) in the theme |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |