Cheetah
|
Public Member Functions | |
__construct (&$oConfig) | |
deleteEntryByIdAndOwner ($iId, $iOwner, $isAdmin) | |
toggleProductFileVisibility ($iFileId) | |
updatePriceRange ($iEntryId) | |
insertMediaFiles ($iEntryId, $aMedia, $iProfileId) | |
deleteMediaFile ($iMediaId, $sMediaType) | |
deleteEntryMediaFileAll ($iEntryId, $sMediaType) | |
getFileInfo ($iEntryId, $iMediaId) | |
getFileInfoByFileId ($iId) | |
getFiles ($iEntryId, $isFilterHidden=false) | |
getFilesByAuthor ($iAuthorId) | |
registerCustomer ($iClientId, $iItemId, $sOrderId, $iCount, $iDate) | |
unregisterCustomer ($iClientId, $iItemId, $sOrderId) | |
isCustomer ($iClientId, $iProductId) | |
isPurchasedItem ($iClientId, $iFileId) | |
removeCustomersFromAllEntries ($iProfileId) | |
getBroadcastRecipients ($iProductId) | |
![]() | |
isAnyPublicContent () | |
getEntryByIdAndOwner ($iId, $iOwner, $isAdmin) | |
getEntryById ($iId) | |
getEntriesByAuthor ($iProfileId) | |
getCountByAuthorAndStatus ($iProfileId, $sStatus) | |
getEntryByUri ($sUri) | |
getLatestFeaturedItem () | |
getEntriesByMonth ($iYear, $iMonth, $iNextYear, $iNextMonth) | |
markAsFeatured ($iId) | |
activateEntry ($iId) | |
updateMedia ($iEntryId, $aMediaAdd, $aMediaDelete, $sMediaType) | |
insertMedia ($iEntryId, $aMedia, $sMediaType) | |
deleteMedia ($iEntryId, $aMedia, $sMediaType) | |
deleteEntryMediaAll ($iEntryId, $sMediaType) | |
getMediaIds ($iEntryId, $sMediaType) | |
isMediaInUse ($iMediaId, $sMediaType) | |
getMedia ($iEntryId, $iMediaId, $sMediaType) | |
setThumbnail ($iEntryId, $iImageId) | |
getForumById ($iForumId) | |
createForum ($aDataEntry, $sUsername) | |
deleteForum ($iEntryId) | |
getProfileNickNameById ($iId) | |
getProfileIdByNickName ($sNick, $isProcessDbInput=true) | |
getSettingsCategory ($sName) | |
getPotentialVisitors ($iProfileId) | |
joinEntry ($iEntryId, $iProfileId, $isConfirmed) | |
leaveEntry ($iEntryId, $iProfileId) | |
isFan ($iEntryId, $iProfileId, $isConfirmed) | |
getFansBrowse (&$aProfiles, $iEntryId, $iStart, $iMaxNum) | |
getFans (&$aProfiles, $iEntryId, $isConfirmed, $iStart, $iMaxNum, $aFilter=array()) | |
confirmFans ($iEntryId, $aProfileIds) | |
removeFans ($iEntryId, $aProfileIds) | |
removeFanFromAllEntries ($iProfileId) | |
removeAdminFromAllEntries ($iProfileId) | |
rejectFans ($iEntryId, $aProfileIds) | |
getAdmins (&$aProfiles, $iEntryId, $iStart, $iMaxNum, $aFilter=array()) | |
isGroupAdmin ($iEntryId, $iProfileId) | |
addGroupAdmin ($iEntryId, $aProfileIds) | |
removeGroupAdmin ($iEntryId, $aProfileIds) | |
![]() | |
__construct ($oConfig=null) | |
getPrefix () | |
getModulesBy ($aParams=array()) | |
getModuleById ($iId) | |
getModuleByUri ($sUri) | |
isModule ($sUri) | |
isModuleParamsUsed ($sUri, $sPath, $sPrefixDb, $sPrefixClass) | |
getModules () | |
getDependent ($sUri) | |
getSettingsCategoryId ($sCatName) | |
![]() | |
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 | getInstance () |
![]() | |
$_sTableMain = 'main' | |
$_sTableShoutbox = '' | |
$_sTableMediaPrefix = '' | |
$_sFieldId = 'id' | |
$_sFieldAuthorId = 'author_id' | |
$_sFieldUri = 'uri' | |
$_sFieldTitle = 'title' | |
$_sFieldDescription = 'desc' | |
$_sFieldTags = 'tags' | |
$_sFieldThumb = 'thumb' | |
$_sFieldStatus = 'status' | |
$_sFieldFeatured = 'featured' | |
$_sFieldCreated = 'created' | |
$_sFieldDesc = 'desc' | |
$_sFieldFansCount = 'fans_count' | |
$_sTableFans = 'fans' | |
$_sTableAdmins = 'admins' | |
$_sFieldAllowViewTo = 'allow_view_to' | |
$_sFieldCommentCount = 'comments_count' | |
![]() | |
$_sPrefix | |
![]() | |
$port | |
$socket | |
$dbname | |
$user | |
$password | |
$oParams = null | |
$oDbCacheObject = null | |
![]() | |
__construct () | |
connect () | |
disconnect () | |
![]() | |
$host | |
$link | |
$oCurrentStmt | |
$iCurrentFetchStyle | |
![]() | |
static | $instance |
Definition at line 14 of file ChStoreDb.php.
ChStoreDb::__construct | ( | & | $oConfig | ) |
Reimplemented from ChWsbTwigModuleDb.
Definition at line 19 of file ChStoreDb.php.
ChStoreDb::deleteEntryByIdAndOwner | ( | $iId, | |
$iOwner, | |||
$isAdmin | |||
) |
Reimplemented from ChWsbTwigModuleDb.
Definition at line 40 of file ChStoreDb.php.
ChStoreDb::deleteEntryMediaFileAll | ( | $iEntryId, | |
$sMediaType | |||
) |
Definition at line 116 of file ChStoreDb.php.
ChStoreDb::deleteMediaFile | ( | $iMediaId, | |
$sMediaType | |||
) |
Reimplemented from ChWsbTwigModuleDb.
Definition at line 99 of file ChStoreDb.php.
ChStoreDb::getBroadcastRecipients | ( | $iProductId | ) |
Reimplemented from ChWsbTwigModuleDb.
Definition at line 184 of file ChStoreDb.php.
ChStoreDb::getFileInfo | ( | $iEntryId, | |
$iMediaId | |||
) |
Definition at line 124 of file ChStoreDb.php.
ChStoreDb::getFileInfoByFileId | ( | $iId | ) |
Definition at line 130 of file ChStoreDb.php.
ChStoreDb::getFiles | ( | $iEntryId, | |
$isFilterHidden = false |
|||
) |
Definition at line 137 of file ChStoreDb.php.
ChStoreDb::getFilesByAuthor | ( | $iAuthorId | ) |
Definition at line 147 of file ChStoreDb.php.
ChStoreDb::insertMediaFiles | ( | $iEntryId, | |
$aMedia, | |||
$iProfileId | |||
) |
Definition at line 86 of file ChStoreDb.php.
ChStoreDb::isCustomer | ( | $iClientId, | |
$iProductId | |||
) |
Definition at line 164 of file ChStoreDb.php.
ChStoreDb::isPurchasedItem | ( | $iClientId, | |
$iFileId | |||
) |
Definition at line 169 of file ChStoreDb.php.
ChStoreDb::registerCustomer | ( | $iClientId, | |
$iItemId, | |||
$sOrderId, | |||
$iCount, | |||
$iDate | |||
) |
Definition at line 154 of file ChStoreDb.php.
ChStoreDb::removeCustomersFromAllEntries | ( | $iProfileId | ) |
Definition at line 174 of file ChStoreDb.php.
ChStoreDb::toggleProductFileVisibility | ( | $iFileId | ) |
Definition at line 53 of file ChStoreDb.php.
ChStoreDb::unregisterCustomer | ( | $iClientId, | |
$iItemId, | |||
$sOrderId | |||
) |
Definition at line 159 of file ChStoreDb.php.
ChStoreDb::updatePriceRange | ( | $iEntryId | ) |
Definition at line 68 of file ChStoreDb.php.