|
Cheetah
|
Public Attributes | |
| $iUserId | |
| $_aCssMatch | |
Public Attributes inherited from ChWsbModule | |
| $_aModule | |
| $_oDb | |
| $_oTemplate | |
| $_oConfig | |
Additional Inherited Members | |
Static Public Member Functions inherited from ChWsbModule | |
| static | getInstance ($sClassName) |
| static | getTitle ($sUri) |
Profile customizer module
This module allow users to customize profile page, users can change backgrounds, fonts, borders and create new themes for it.
Service methods:
Get block for for customized page
Get custom styles for current profile page
Example for add new customize block:
You necessary to add new record in table ch_profile_custom_units
name - unique name for customize block caption - this caption show in select menu css_name - name of css style(class, id or element name) which need to customize type - one of the following types: "background", "font", "border"
Definition at line 62 of file ChSctrModule.php.
| ChSctrModule::__construct | ( | $aModule | ) |
| ChSctrModule::_addImage | ( | $sName | ) |
Definition at line 359 of file ChSctrModule.php.
| ChSctrModule::_checkActions | ( | ) |
Definition at line 546 of file ChSctrModule.php.
| ChSctrModule::_compileBackground | ( | $aParam | ) |
Definition at line 665 of file ChSctrModule.php.
| ChSctrModule::_compileBorder | ( | $aParam | ) |
Definition at line 741 of file ChSctrModule.php.
| ChSctrModule::_compileFont | ( | $aParam | ) |
Definition at line 700 of file ChSctrModule.php.
| ChSctrModule::_convertFormVarToTmpStyle | ( | $sPage, | |
| $sTarget, | |||
| $aVars, | |||
| & | $aResult, | ||
$bFiles = false |
|||
| ) |
Definition at line 390 of file ChSctrModule.php.
| ChSctrModule::_deleteImage | ( | $sFileName | ) |
Definition at line 379 of file ChSctrModule.php.
| ChSctrModule::_deleteTheme | ( | $iThemeId | ) |
Definition at line 526 of file ChSctrModule.php.
| ChSctrModule::_exportTheme | ( | $iThemeId | ) |
Definition at line 565 of file ChSctrModule.php.
| ChSctrModule::_getCssFromArray | ( | $aTmpStyle | ) |
Definition at line 401 of file ChSctrModule.php.
| ChSctrModule::_getCustomizeBlock | ( | $sPage = '', |
|
$sTarget = '' |
|||
| ) |
Definition at line 843 of file ChSctrModule.php.
| ChSctrModule::_getImages | ( | $aCss | ) |
Definition at line 471 of file ChSctrModule.php.
| ChSctrModule::_getImagesDir | ( | ) |
Definition at line 354 of file ChSctrModule.php.
| ChSctrModule::_getImagesPath | ( | ) |
Definition at line 349 of file ChSctrModule.php.
| ChSctrModule::_getThemeFromTmp | ( | ) |
Definition at line 436 of file ChSctrModule.php.
| ChSctrModule::_getZipFilesFromPath | ( | $oZipFile, | |
$sPath = '' |
|||
| ) |
Definition at line 653 of file ChSctrModule.php.
| ChSctrModule::_importImages | ( | $aCss, | |
| $oZip, | |||
| $aImages | |||
| ) |
Definition at line 489 of file ChSctrModule.php.
| ChSctrModule::_importTheme | ( | $sFileImport | ) |
Definition at line 599 of file ChSctrModule.php.
| ChSctrModule::_parseImages | ( | $aCss, | |
| $iOperation | |||
| ) |
Definition at line 448 of file ChSctrModule.php.
| ChSctrModule::_saveCss | ( | ) |
Definition at line 520 of file ChSctrModule.php.
| ChSctrModule::actionAdministration | ( | $sType = '', |
|
$iUnitId = '' |
|||
| ) |
Admin actions
Definition at line 265 of file ChSctrModule.php.
| ChSctrModule::actionCustomizePage | ( | $sPage = '', |
|
$sTarget = '' |
|||
| ) |
Definition at line 81 of file ChSctrModule.php.
| ChSctrModule::actionDeleteTheme | ( | $iThemeId | ) |
Definition at line 237 of file ChSctrModule.php.
| ChSctrModule::actionOpen | ( | $iOpen | ) |
Definition at line 89 of file ChSctrModule.php.
| ChSctrModule::actionPublish | ( | $isSave = '' | ) |
Definition at line 167 of file ChSctrModule.php.
| ChSctrModule::actionResetAll | ( | ) |
Definition at line 248 of file ChSctrModule.php.
| ChSctrModule::actionSave | ( | $isReset = '' | ) |
Definition at line 100 of file ChSctrModule.php.
| ChSctrModule::actionSaveTheme | ( | $iThemeId | ) |
Definition at line 210 of file ChSctrModule.php.
| ChSctrModule::isAdmin | ( | ) |
Definition at line 344 of file ChSctrModule.php.
| ChSctrModule::serviceGetCustomizeBlock | ( | $sPage = '', |
|
$sTarget = '' |
|||
| ) |
Definition at line 293 of file ChSctrModule.php.
| ChSctrModule::serviceGetCustomizeButton | ( | ) |
Service methods
Definition at line 283 of file ChSctrModule.php.
| ChSctrModule::serviceGetSiteStyle | ( | ) |
Definition at line 308 of file ChSctrModule.php.
| ChSctrModule::$_aCssMatch |
Definition at line 65 of file ChSctrModule.php.
| ChSctrModule::$iUserId |
Definition at line 64 of file ChSctrModule.php.