Cheetah
Public Member Functions | Public Attributes | List of all members
ChProfileCustomizeDb Class Reference
Inheritance diagram for ChProfileCustomizeDb:
ChWsbModuleDb ChWsbDb

Public Member Functions

 __construct (&$oConfig)
 
 getProfileByUserId ($iUserId)
 
 getProfileTmpByUserId ($iUserId)
 
 getProfileCssByUserId ($iUserId)
 
 updateProfileByUserId ($iUserId, $sStyle, $sType)
 
 saveProfileByUserId ($iUserId)
 
 updateProfileTmpByUserId ($iUserId, $aTmp)
 
 updateProfileCssByUserId ($iUserId, $aCss)
 
 resetProfileStyleByUserId ($iUserId)
 
 getUnits ()
 
 getUnitById ($iUnitId)
 
 deleteUnit ($iUnitId)
 
 getAllThemesByUserId ($iUserId)
 
 getSharedThemes ()
 
 getThemeByName ($sName)
 
 getThemeById ($iThemeId)
 
 getThemeStyle ($iThemeId)
 
 addTheme ($sName, $iOwnerId, $sCss)
 
 deleteTheme ($iThemeId)
 
 addImage ($sExt)
 
 copyImage ($sFileName)
 
 deleteImage ($sFileName)
 
 getSettingsCategory ()
 
- Public Member Functions inherited from ChWsbModuleDb
 __construct ($oConfig=null)
 
 getPrefix ()
 
 getModulesBy ($aParams=array())
 
 getModuleById ($iId)
 
 getModuleByUri ($sUri)
 
 isModule ($sUri)
 
 isModuleParamsUsed ($sUri, $sPath, $sPrefixDb, $sPrefixClass)
 
 getModules ()
 
 getDependent ($sUri)
 
 getSettingsCategoryId ($sCatName)
 
- Public Member Functions inherited from ChWsbDb
 setTimezone ($sTimezone)
 
 getLink ()
 
 res ($sQuery, $aBindings=[], $bReplaying=false)
 
 getAll ($sQuery, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getColumn ($sQuery, $aBindings=[])
 
 getOne ($sQuery, $aBindings=[], $iIndex=0)
 
 getFirstRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getNextRow ()
 
 getAllWithKey ($sQuery, $sFieldKey, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getPairs ($sQuery, $sFieldKey, $sFieldValue, $aBindings=[])
 
 query ($sQuery, $aBindings=[])
 
 getNumRows ($oStmt=null)
 
 getAffectedRows ($oStmt=null)
 
 fillArray ($oStmt, $iFetchType=PDO::FETCH_ASSOC)
 
 lastId ()
 
 getParam ($sName, $bCache=true)
 
 setParam ($sName, $sValue)
 
 listTables ()
 
 getFields ($sTable)
 
 isFieldExists ($sTable, $sFieldName)
 
 fetchField ($mixedQuery, $iField, $aBindings=[])
 
 getDbCacheObject ()
 
 genDbCacheKey ($sName)
 
 fromCache ($sName, $sFunc)
 
 cleanCache ($sName)
 
fromMemory ($sName, $sFunc)
 
 cleanMemory ($sName)
 
 arrayToSQL ($a, $sDiv=',')
 
 escape ($sText, $bReal=true)
 
 implode_escape ($mixed)
 
 unescape ($mixed)
 

Public Attributes

 $_oConfig
 
- Public Attributes inherited from ChWsbModuleDb
 $_sPrefix
 
- Public Attributes inherited from ChWsbDb
 $port
 
 $socket
 
 $dbname
 
 $user
 
 $password
 
 $oParams = null
 
 $oDbCacheObject = null
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbDb
static getInstance ()
 
- Protected Member Functions inherited from ChWsbDb
 __construct ()
 
 connect ()
 
 disconnect ()
 
- Protected Attributes inherited from ChWsbDb
 $host
 
 $link
 
 $oCurrentStmt
 
 $iCurrentFetchStyle
 
- Static Protected Attributes inherited from ChWsbDb
static $instance
 

Detailed Description

Definition at line 12 of file ChProfileCustomizeDb.php.

Constructor & Destructor Documentation

◆ __construct()

ChProfileCustomizeDb::__construct ( $oConfig)

Definition at line 18 of file ChProfileCustomizeDb.php.

Member Function Documentation

◆ addImage()

ChProfileCustomizeDb::addImage (   $sExt)

Definition at line 151 of file ChProfileCustomizeDb.php.

◆ addTheme()

ChProfileCustomizeDb::addTheme (   $sName,
  $iOwnerId,
  $sCss 
)

Definition at line 137 of file ChProfileCustomizeDb.php.

◆ copyImage()

ChProfileCustomizeDb::copyImage (   $sFileName)

Definition at line 159 of file ChProfileCustomizeDb.php.

◆ deleteImage()

ChProfileCustomizeDb::deleteImage (   $sFileName)

Definition at line 169 of file ChProfileCustomizeDb.php.

◆ deleteTheme()

ChProfileCustomizeDb::deleteTheme (   $iThemeId)

Definition at line 146 of file ChProfileCustomizeDb.php.

◆ deleteUnit()

ChProfileCustomizeDb::deleteUnit (   $iUnitId)

Definition at line 100 of file ChProfileCustomizeDb.php.

◆ getAllThemesByUserId()

ChProfileCustomizeDb::getAllThemesByUserId (   $iUserId)

Definition at line 105 of file ChProfileCustomizeDb.php.

◆ getProfileByUserId()

ChProfileCustomizeDb::getProfileByUserId (   $iUserId)

Definition at line 25 of file ChProfileCustomizeDb.php.

◆ getProfileCssByUserId()

ChProfileCustomizeDb::getProfileCssByUserId (   $iUserId)

Definition at line 40 of file ChProfileCustomizeDb.php.

◆ getProfileTmpByUserId()

ChProfileCustomizeDb::getProfileTmpByUserId (   $iUserId)

Definition at line 30 of file ChProfileCustomizeDb.php.

◆ getSettingsCategory()

ChProfileCustomizeDb::getSettingsCategory ( )

Definition at line 187 of file ChProfileCustomizeDb.php.

◆ getSharedThemes()

ChProfileCustomizeDb::getSharedThemes ( )

Definition at line 110 of file ChProfileCustomizeDb.php.

◆ getThemeById()

ChProfileCustomizeDb::getThemeById (   $iThemeId)

Definition at line 120 of file ChProfileCustomizeDb.php.

◆ getThemeByName()

ChProfileCustomizeDb::getThemeByName (   $sName)

Definition at line 115 of file ChProfileCustomizeDb.php.

◆ getThemeStyle()

ChProfileCustomizeDb::getThemeStyle (   $iThemeId)

Definition at line 125 of file ChProfileCustomizeDb.php.

◆ getUnitById()

ChProfileCustomizeDb::getUnitById (   $iUnitId)

Definition at line 95 of file ChProfileCustomizeDb.php.

◆ getUnits()

ChProfileCustomizeDb::getUnits ( )

Definition at line 80 of file ChProfileCustomizeDb.php.

◆ resetProfileStyleByUserId()

ChProfileCustomizeDb::resetProfileStyleByUserId (   $iUserId)

Definition at line 75 of file ChProfileCustomizeDb.php.

◆ saveProfileByUserId()

ChProfileCustomizeDb::saveProfileByUserId (   $iUserId)

Definition at line 60 of file ChProfileCustomizeDb.php.

◆ updateProfileByUserId()

ChProfileCustomizeDb::updateProfileByUserId (   $iUserId,
  $sStyle,
  $sType 
)

Definition at line 50 of file ChProfileCustomizeDb.php.

◆ updateProfileCssByUserId()

ChProfileCustomizeDb::updateProfileCssByUserId (   $iUserId,
  $aCss 
)

Definition at line 70 of file ChProfileCustomizeDb.php.

◆ updateProfileTmpByUserId()

ChProfileCustomizeDb::updateProfileTmpByUserId (   $iUserId,
  $aTmp 
)

Definition at line 65 of file ChProfileCustomizeDb.php.

Member Data Documentation

◆ $_oConfig

ChProfileCustomizeDb::$_oConfig

Definition at line 14 of file ChProfileCustomizeDb.php.


The documentation for this class was generated from the following file: