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

Public Member Functions

 __construct (&$oConfig)
 
 getSite ()
 
 getSiteTmp ()
 
 getSiteCss ()
 
 updateSite ($sStyle, $sType)
 
 saveSite ()
 
 updateSiteTmp ($aTmp)
 
 updateSiteCss ($aCss)
 
 resetSite ()
 
 getUnits ()
 
 getUnitById ($iUnitId)
 
 deleteUnit ($iUnitId)
 
 getAllThemes ()
 
 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

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file ChSctrDb.php.

Constructor & Destructor Documentation

◆ __construct()

ChSctrDb::__construct ( $oConfig)

Definition at line 16 of file ChSctrDb.php.

Member Function Documentation

◆ addImage()

ChSctrDb::addImage (   $sExt)

Definition at line 145 of file ChSctrDb.php.

◆ addTheme()

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

Definition at line 132 of file ChSctrDb.php.

◆ copyImage()

ChSctrDb::copyImage (   $sFileName)

Definition at line 153 of file ChSctrDb.php.

◆ deleteImage()

ChSctrDb::deleteImage (   $sFileName)

Definition at line 163 of file ChSctrDb.php.

◆ deleteTheme()

ChSctrDb::deleteTheme (   $iThemeId)

Definition at line 140 of file ChSctrDb.php.

◆ deleteUnit()

ChSctrDb::deleteUnit (   $iUnitId)

Definition at line 95 of file ChSctrDb.php.

◆ getAllThemes()

ChSctrDb::getAllThemes ( )

Definition at line 100 of file ChSctrDb.php.

◆ getSettingsCategory()

ChSctrDb::getSettingsCategory ( )

Definition at line 181 of file ChSctrDb.php.

◆ getSharedThemes()

ChSctrDb::getSharedThemes ( )

Definition at line 105 of file ChSctrDb.php.

◆ getSite()

ChSctrDb::getSite ( )

Definition at line 23 of file ChSctrDb.php.

◆ getSiteCss()

ChSctrDb::getSiteCss ( )

Definition at line 37 of file ChSctrDb.php.

◆ getSiteTmp()

ChSctrDb::getSiteTmp ( )

Definition at line 28 of file ChSctrDb.php.

◆ getThemeById()

ChSctrDb::getThemeById (   $iThemeId)

Definition at line 115 of file ChSctrDb.php.

◆ getThemeByName()

ChSctrDb::getThemeByName (   $sName)

Definition at line 110 of file ChSctrDb.php.

◆ getThemeStyle()

ChSctrDb::getThemeStyle (   $iThemeId)

Definition at line 120 of file ChSctrDb.php.

◆ getUnitById()

ChSctrDb::getUnitById (   $iUnitId)

Definition at line 90 of file ChSctrDb.php.

◆ getUnits()

ChSctrDb::getUnits ( )

Definition at line 75 of file ChSctrDb.php.

◆ resetSite()

ChSctrDb::resetSite ( )

Definition at line 70 of file ChSctrDb.php.

◆ saveSite()

ChSctrDb::saveSite ( )

Definition at line 55 of file ChSctrDb.php.

◆ updateSite()

ChSctrDb::updateSite (   $sStyle,
  $sType 
)

Definition at line 46 of file ChSctrDb.php.

◆ updateSiteCss()

ChSctrDb::updateSiteCss (   $aCss)

Definition at line 65 of file ChSctrDb.php.

◆ updateSiteTmp()

ChSctrDb::updateSiteTmp (   $aTmp)

Definition at line 60 of file ChSctrDb.php.

Member Data Documentation

◆ $_oConfig

ChSctrDb::$_oConfig

Definition at line 12 of file ChSctrDb.php.


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