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

Public Member Functions

 __construct (&$oConfig)
 
 getSettingsCategory ()
 
 updateAudio ($iId, $aData)
 
 getAudioData ($iId)
 
- Public Member Functions inherited from ChWsbFilesDb
 _changeFileCondition ($iFile, $sField, $sValue)
 
 approveFile ($iFile)
 
 disapproveFile ($iFile)
 
 makeFeatured ($iFile)
 
 makeUnFeatured ($iFile)
 
 addToFavorites ($iFile)
 
 removeFromFavorites ($iFile)
 
 checkFavoritesIn ($iFile)
 
 getFavorites ($iMember, $iFrom=0, $iPerPage=10)
 
 getFavoritesCount ($iFile)
 
 getFilesByMonth ($iYear, $iMonth, $iNextYear, $iNextMonth, $sStatus='approved')
 
 insertData ($aData)
 
 updateData ($iFileId, $aData)
 
 _setData ($aData, $iFileId=0)
 
 deleteData ($iFile)
 
 getFilesCountByParams (&$aParams)
 
 getFilesCountByAuthor ($iProfileId, $sStatus='approved')
 
 getFilesByAuthor ($iProfileId)
 
 getFileInfo ($aIdent, $bSimple=false, $aFields=array())
 
 getMemberList ($sArg)
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbDb
static getInstance ()
 
- Public Attributes inherited from ChWsbFilesDb
 $_oConfig
 
 $iViever
 
 $sFileTable
 
 $sFavoriteTable
 
 $aFileFields
 
 $aFavoriteFields
 
- Public Attributes inherited from ChWsbModuleDb
 $_sPrefix
 
- Public Attributes inherited from ChWsbDb
 $port
 
 $socket
 
 $dbname
 
 $user
 
 $password
 
 $oParams = null
 
 $oDbCacheObject = null
 
- 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 ChSoundsDb.php.

Constructor & Destructor Documentation

◆ __construct()

ChSoundsDb::__construct ( $oConfig)

Reimplemented from ChWsbFilesDb.

Definition at line 15 of file ChSoundsDb.php.

Member Function Documentation

◆ getAudioData()

ChSoundsDb::getAudioData (   $iId)

Definition at line 42 of file ChSoundsDb.php.

◆ getSettingsCategory()

ChSoundsDb::getSettingsCategory ( )

Reimplemented from ChWsbFilesDb.

Definition at line 23 of file ChSoundsDb.php.

◆ updateAudio()

ChSoundsDb::updateAudio (   $iId,
  $aData 
)

Definition at line 28 of file ChSoundsDb.php.


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