Cheetah
Public Member Functions | Public Attributes | List of all members
ChWsbModuleDb Class Reference
Inheritance diagram for ChWsbModuleDb:
ChWsbDb ChAvaDb ChBoardDb ChChatDb ChGSearchDb ChH5avDb ChMbpDb ChOAuthDb ChPageACDb ChPmtDb ChPollDb ChProfileCustomizeDb ChProfilerDb ChQuotesDb ChRuDb ChSctrDb ChShoutBoxDb ChSimpleMessengerDb ChSitesDb ChSMTPDb ChSpyDb ChWallDb ChWmapDb ChWsbConnectDb ChWsbFilesDb ChWsbTextDb ChWsbTwigModuleDb ChZIPDb

Public Member Functions

 __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

 $_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 11 of file ChWsbModuleDb.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbModuleDb::__construct (   $oConfig = null)

Definition at line 17 of file ChWsbModuleDb.php.

Member Function Documentation

◆ getDependent()

ChWsbModuleDb::getDependent (   $sUri)

Definition at line 70 of file ChWsbModuleDb.php.

◆ getModuleById()

ChWsbModuleDb::getModuleById (   $iId)

Definition at line 45 of file ChWsbModuleDb.php.

◆ getModuleByUri()

ChWsbModuleDb::getModuleByUri (   $sUri)

Definition at line 50 of file ChWsbModuleDb.php.

◆ getModules()

ChWsbModuleDb::getModules ( )

Reimplemented in ChPmtDb.

Definition at line 65 of file ChWsbModuleDb.php.

◆ getModulesBy()

ChWsbModuleDb::getModulesBy (   $aParams = array())

Definition at line 28 of file ChWsbModuleDb.php.

◆ getPrefix()

ChWsbModuleDb::getPrefix ( )

Definition at line 24 of file ChWsbModuleDb.php.

◆ getSettingsCategoryId()

ChWsbModuleDb::getSettingsCategoryId (   $sCatName)

Function will return category's id;

Parameters
:$sCatName(string) - catregory's name;
Returns
: (integer) - category's id;

Definition at line 82 of file ChWsbModuleDb.php.

◆ isModule()

ChWsbModuleDb::isModule (   $sUri)

Definition at line 55 of file ChWsbModuleDb.php.

◆ isModuleParamsUsed()

ChWsbModuleDb::isModuleParamsUsed (   $sUri,
  $sPath,
  $sPrefixDb,
  $sPrefixClass 
)

Definition at line 60 of file ChWsbModuleDb.php.

Member Data Documentation

◆ $_sPrefix

ChWsbModuleDb::$_sPrefix

Definition at line 13 of file ChWsbModuleDb.php.


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