Gui Class Reference
List of all members.
Detailed Description
Look&Feel editor file
Definition at line 8 of file gui.php.
Member Function Documentation
Ininializes internal fields and loads dom objects
- Returns:
- null
Reimplemented from oxAdminView.
Definition at line 78 of file gui.php.
Render template and loads all needed data
- Returns:
- string
Reimplemented from oxAdminView.
Definition at line 99 of file gui.php.
Gui.fillColors |
( |
$ |
aStyles, |
|
|
$ |
aColors | |
|
) |
| | |
Fills array with color values according to the index
- Parameters:
-
| array | $aStyles array to fill |
| array | $aColors values to fill |
- Returns:
- array
Definition at line 163 of file gui.php.
Gui.save |
( |
$ |
blAjax = true |
) |
|
Generates css and background image files
- Parameters:
-
| bool | $blAjax do not render page if called from ajax |
- Returns:
- null
Definition at line 179 of file gui.php.
Gui.saveUserSettings |
( |
$ |
sTheme, |
|
|
$ |
aColors, |
|
|
$ |
aStyles | |
|
) |
| | |
Saves user setting to php file
- Parameters:
-
| string | $sTheme Theme id |
| string | $aColors Color palette |
| string | $aStyles Element styles |
- Returns:
- null
Definition at line 260 of file gui.php.
Renders css preview with image preview link
- Returns:
- null
Definition at line 282 of file gui.php.
Renders image preview
- Returns:
- null
Definition at line 321 of file gui.php.
Gui.gif |
( |
$ |
sTpl = null , |
|
|
$ |
aColors = null , |
|
|
$ |
sFile = null , |
|
|
$ |
sDir = null | |
|
) |
| | |
Renders and outputs or saves gif image (saves if not null, otherwise outputs directly)
- Parameters:
-
| string | $sTpl Theme id |
| array | $aColors Colors array |
| string | $sFile File name |
| string | $sDir Directory name |
- Returns:
- null
Definition at line 342 of file gui.php.
Returns default and posted colors array
- Returns:
- array
Definition at line 366 of file gui.php.
Returns default and posted styles array
- Returns:
- array
Definition at line 384 of file gui.php.
Gui._loadGuiFiles |
( |
|
) |
[protected] |
Loads gui and theme xml files DOM documents
protected
- Returns:
- array
Definition at line 401 of file gui.php.
Returns themes array
- Returns:
- array
Definition at line 427 of file gui.php.
Gui.getColors |
( |
$ |
sThemeId |
) |
|
Returns default styles
- Returns:
- array
Definition at line 461 of file gui.php.
Gui.getResColors |
( |
$ |
sRes, |
|
|
$ |
sTpl | |
|
) |
| | |
Gui.getImageColors |
( |
$ |
sImageID, |
|
|
$ |
aStyles | |
|
) |
| | |
Gui.hex2rgb |
( |
$ |
sHexColor |
) |
|
Member Data Documentation
Gui.$_sSrcDir [protected] |
Gui.$_sGuiDir = "gui/" [protected] |
Gui.$_sBgDir = "bg/" [protected] |
Gui.$_sGuiXml = "gui.xml" [protected] |
Gui.$_sUserGui = "usergui.php" [protected] |
Gui.$_oGuiDom [protected] |
Gui.$_sThemeXml = "theme.xml" [protected] |
Gui.$_oThemesDom [protected] |
Gui.$_blLoaded = false [protected] |
The documentation for this class was generated from the following file: