|
Cheetah
|
Public Member Functions | |
| __construct (&$oConfig) | |
| _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()) | |
| getSettingsCategory () | |
| 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) | |
Public Attributes | |
| $_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 | |
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 |
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 ChWsbFilesDb.php.
| ChWsbFilesDb::__construct | ( | & | $oConfig | ) |
Reimplemented in ChVideosDb, ChSoundsDb, ChPhotosDb, and ChFilesDb.
Definition at line 28 of file ChWsbFilesDb.php.
| ChWsbFilesDb::_changeFileCondition | ( | $iFile, | |
| $sField, | |||
| $sValue | |||
| ) |
Definition at line 76 of file ChWsbFilesDb.php.
| ChWsbFilesDb::_setData | ( | $aData, | |
$iFileId = 0 |
|||
| ) |
Definition at line 198 of file ChWsbFilesDb.php.
| ChWsbFilesDb::addToFavorites | ( | $iFile | ) |
Definition at line 103 of file ChWsbFilesDb.php.
| ChWsbFilesDb::approveFile | ( | $iFile | ) |
Definition at line 83 of file ChWsbFilesDb.php.
| ChWsbFilesDb::checkFavoritesIn | ( | $iFile | ) |
Definition at line 132 of file ChWsbFilesDb.php.
| ChWsbFilesDb::deleteData | ( | $iFile | ) |
Definition at line 218 of file ChWsbFilesDb.php.
| ChWsbFilesDb::disapproveFile | ( | $iFile | ) |
Definition at line 88 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFavorites | ( | $iMember, | |
$iFrom = 0, |
|||
$iPerPage = 10 |
|||
| ) |
Definition at line 142 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFavoritesCount | ( | $iFile | ) |
Definition at line 151 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFileInfo | ( | $aIdent, | |
$bSimple = false, |
|||
$aFields = array() |
|||
| ) |
Definition at line 286 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFilesByAuthor | ( | $iProfileId | ) |
Definition at line 277 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFilesByMonth | ( | $iYear, | |
| $iMonth, | |||
| $iNextYear, | |||
| $iNextMonth, | |||
$sStatus = 'approved' |
|||
| ) |
Definition at line 158 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFilesCountByAuthor | ( | $iProfileId, | |
$sStatus = 'approved' |
|||
| ) |
Definition at line 267 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getFilesCountByParams | ( | & | $aParams | ) |
Definition at line 229 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getMemberList | ( | $sArg | ) |
Definition at line 331 of file ChWsbFilesDb.php.
| ChWsbFilesDb::getSettingsCategory | ( | ) |
Reimplemented in ChVideosDb, ChSoundsDb, ChPhotosDb, and ChFilesDb.
Definition at line 327 of file ChWsbFilesDb.php.
| ChWsbFilesDb::insertData | ( | $aData | ) |
Definition at line 182 of file ChWsbFilesDb.php.
| ChWsbFilesDb::makeFeatured | ( | $iFile | ) |
Definition at line 93 of file ChWsbFilesDb.php.
| ChWsbFilesDb::makeUnFeatured | ( | $iFile | ) |
Definition at line 98 of file ChWsbFilesDb.php.
| ChWsbFilesDb::removeFromFavorites | ( | $iFile | ) |
Definition at line 117 of file ChWsbFilesDb.php.
| ChWsbFilesDb::updateData | ( | $iFileId, | |
| $aData | |||
| ) |
Definition at line 189 of file ChWsbFilesDb.php.
| ChWsbFilesDb::$_oConfig |
Definition at line 12 of file ChWsbFilesDb.php.
| ChWsbFilesDb::$aFavoriteFields |
Definition at line 23 of file ChWsbFilesDb.php.
| ChWsbFilesDb::$aFileFields |
Definition at line 21 of file ChWsbFilesDb.php.
| ChWsbFilesDb::$iViever |
Definition at line 14 of file ChWsbFilesDb.php.
| ChWsbFilesDb::$sFavoriteTable |
Definition at line 18 of file ChWsbFilesDb.php.
| ChWsbFilesDb::$sFileTable |
Definition at line 16 of file ChWsbFilesDb.php.