|
Cheetah
|
Public Member Functions | |
| __construct (&$oConfig) | |
| getMembershipActions () | |
| getSiteById ($iSiteId) | |
| getEntryByIdAndOwner ($iSiteId, $iUnusedParam=0, $bUnusedParam=true) | |
| getSiteByEntryUri ($sEntryUri) | |
| getSiteLatest () | |
| getSiteByUrl ($sUrl) | |
| getSites () | |
| getSitesByAuthor ($iProfileId) | |
| markFeatured ($iSiteId) | |
| deleteSiteById ($iSiteId) | |
| getProfileIdByNickName ($sNick) | |
| getSitesByMonth ($iYear, $iMonth, $iNextYear, $iNextMonth) | |
| getSettingsCategory ($sName) | |
| setStatusSite ($iSiteId, $sStatus) | |
| getCountByOwnerAndStatus ($iOwnerId, $sStatus) | |
| addRequest ($aSTWArgs, $aResponse, $sHash) | |
| addAccountInfo ($sKeyID, $aResponse) | |
| getAccountInfo ($sKeyID) | |
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 | |
| $sTablePrefix | |
| $_sFieldId = 'id' | |
| $_sFieldAuthorId = 'ownerid' | |
| $_sFieldUri = 'entryUri' | |
| $_sFieldTitle = 'title' | |
| $_sFieldDescription = 'description' | |
| $_sFieldThumb = 'photo' | |
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 |
Definition at line 12 of file ChSitesDb.php.
| ChSitesDb::__construct | ( | & | $oConfig | ) |
Definition at line 26 of file ChSitesDb.php.
| ChSitesDb::addAccountInfo | ( | $sKeyID, | |
| $aResponse | |||
| ) |
Definition at line 129 of file ChSitesDb.php.
| ChSitesDb::addRequest | ( | $aSTWArgs, | |
| $aResponse, | |||
| $sHash | |||
| ) |
Definition at line 114 of file ChSitesDb.php.
| ChSitesDb::deleteSiteById | ( | $iSiteId | ) |
Definition at line 80 of file ChSitesDb.php.
| ChSitesDb::getAccountInfo | ( | $sKeyID | ) |
Definition at line 143 of file ChSitesDb.php.
| ChSitesDb::getCountByOwnerAndStatus | ( | $iOwnerId, | |
| $sStatus | |||
| ) |
Definition at line 107 of file ChSitesDb.php.
| ChSitesDb::getEntryByIdAndOwner | ( | $iSiteId, | |
$iUnusedParam = 0, |
|||
$bUnusedParam = true |
|||
| ) |
Definition at line 45 of file ChSitesDb.php.
| ChSitesDb::getMembershipActions | ( | ) |
Definition at line 34 of file ChSitesDb.php.
| ChSitesDb::getProfileIdByNickName | ( | $sNick | ) |
Definition at line 85 of file ChSitesDb.php.
| ChSitesDb::getSettingsCategory | ( | $sName | ) |
Definition at line 97 of file ChSitesDb.php.
| ChSitesDb::getSiteByEntryUri | ( | $sEntryUri | ) |
Definition at line 50 of file ChSitesDb.php.
| ChSitesDb::getSiteById | ( | $iSiteId | ) |
Definition at line 40 of file ChSitesDb.php.
| ChSitesDb::getSiteByUrl | ( | $sUrl | ) |
Definition at line 60 of file ChSitesDb.php.
| ChSitesDb::getSiteLatest | ( | ) |
Definition at line 55 of file ChSitesDb.php.
| ChSitesDb::getSites | ( | ) |
Definition at line 65 of file ChSitesDb.php.
| ChSitesDb::getSitesByAuthor | ( | $iProfileId | ) |
Definition at line 70 of file ChSitesDb.php.
| ChSitesDb::getSitesByMonth | ( | $iYear, | |
| $iMonth, | |||
| $iNextYear, | |||
| $iNextMonth | |||
| ) |
Definition at line 90 of file ChSitesDb.php.
| ChSitesDb::markFeatured | ( | $iSiteId | ) |
Definition at line 75 of file ChSitesDb.php.
| ChSitesDb::setStatusSite | ( | $iSiteId, | |
| $sStatus | |||
| ) |
Definition at line 102 of file ChSitesDb.php.
| ChSitesDb::$_oConfig |
Definition at line 14 of file ChSitesDb.php.
| ChSitesDb::$_sFieldAuthorId = 'ownerid' |
Definition at line 17 of file ChSitesDb.php.
| ChSitesDb::$_sFieldDescription = 'description' |
Definition at line 20 of file ChSitesDb.php.
| ChSitesDb::$_sFieldId = 'id' |
Definition at line 16 of file ChSitesDb.php.
| ChSitesDb::$_sFieldThumb = 'photo' |
Definition at line 21 of file ChSitesDb.php.
| ChSitesDb::$_sFieldTitle = 'title' |
Definition at line 19 of file ChSitesDb.php.
| ChSitesDb::$_sFieldUri = 'entryUri' |
Definition at line 18 of file ChSitesDb.php.
| ChSitesDb::$sTablePrefix |
Definition at line 15 of file ChSitesDb.php.