Cheetah
|
Public Member Functions | |
__construct (&$oConfig) | |
getProfileId ($iRemoteId) | |
saveRemoteId ($iProfileId, $iRemoteId) | |
deleteRemoteAccount ($iProfileId) | |
makeFriend ($iMemberId, $iProfileId) | |
createProfile (&$aProfileFields) | |
updateProfileStatus ($iProfileId, $sStatus) | |
isFieldExist ($sFieldName) | |
isEmailExisting ($sEmail) | |
getCountryCode ($sCountry) | |
![]() | |
__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) | |
Public Attributes | |
$sTablePrefix | |
![]() | |
$_sPrefix | |
![]() | |
$port | |
$socket | |
$dbname | |
$user | |
$password | |
$oParams = null | |
$oDbCacheObject = null | |
Additional Inherited Members | |
![]() | |
static | getInstance () |
![]() | |
__construct () | |
connect () | |
disconnect () | |
![]() | |
$host | |
$link | |
$oCurrentStmt | |
$iCurrentFetchStyle | |
![]() | |
static | $instance |
Definition at line 10 of file ChWsbConnectDb.php.
ChWsbConnectDb::__construct | ( | & | $oConfig | ) |
Reimplemented in ChFaceBookConnectDb, ChDolphConDb, and ChChatPlusDb.
Definition at line 14 of file ChWsbConnectDb.php.
ChWsbConnectDb::createProfile | ( | & | $aProfileFields | ) |
Create new profile;
(array) $aProfileFields - Profiles table's fields; |
Definition at line 87 of file ChWsbConnectDb.php.
ChWsbConnectDb::deleteRemoteAccount | ( | $iProfileId | ) |
Delete remote account
$iProfileId | integer |
Reimplemented in ChFaceBookConnectDb.
Definition at line 57 of file ChWsbConnectDb.php.
ChWsbConnectDb::getCountryCode | ( | $sCountry | ) |
Get country's ISO code;
: | $sCountry | (string) - country name; |
Definition at line 156 of file ChWsbConnectDb.php.
ChWsbConnectDb::getProfileId | ( | $iRemoteId | ) |
Check remote profile id
$iRemoteId | integer |
Reimplemented in ChFaceBookConnectDb.
Definition at line 27 of file ChWsbConnectDb.php.
ChWsbConnectDb::isEmailExisting | ( | $sEmail | ) |
Check existing email
$sEmail | string |
Definition at line 142 of file ChWsbConnectDb.php.
ChWsbConnectDb::isFieldExist | ( | $sFieldName | ) |
Function will check field name in 'Profiles` table;
$sFieldName | string |
Definition at line 128 of file ChWsbConnectDb.php.
ChWsbConnectDb::makeFriend | ( | $iMemberId, | |
$iProfileId | |||
) |
Make as friends
$iMemberId | integer |
$iProfileId | intger |
Definition at line 72 of file ChWsbConnectDb.php.
ChWsbConnectDb::saveRemoteId | ( | $iProfileId, | |
$iRemoteId | |||
) |
Save new remote ID
$iProfileId | integer |
$iRemoteId | integer |
Reimplemented in ChFaceBookConnectDb.
Definition at line 42 of file ChWsbConnectDb.php.
ChWsbConnectDb::updateProfileStatus | ( | $iProfileId, | |
$sStatus | |||
) |
Function will update profile's status;
: | $iProfileId | (integer) - profile's Id; |
: | $sStatus | (string) - profile's status; |
Definition at line 113 of file ChWsbConnectDb.php.
ChWsbConnectDb::$sTablePrefix |
Definition at line 12 of file ChWsbConnectDb.php.