Cheetah
|
Public Member Functions | |
__construct (&$oConfig) | |
getShoutboxObjects () | |
clearShoutboxObjectsCache () | |
writeMessage ($sObject, $iHandler, $sMessage, $iOwnerId=0, $iIP=0) | |
getLastMessageId ($sObject, $iHandler) | |
getMessages ($sObject, $iHandler, $iLastId) | |
getMessagesCount ($sObject, $iHandler) | |
getMessageInfo ($sObject, $iHandler, $iMessageId) | |
deleteMessages ($sObject, $iHandler, $iLimit) | |
deleteMessage ($sObject, $iHandler, $iMessageId) | |
deleteMessagesByIp ($sObject, $iHandler, $iIp) | |
deleteMessagesByProfile ($iProfileId) | |
deleteOldMessages ($iLifeTime) | |
getSettingsCategory ($sName) | |
insertData ($aData) | |
deleteData ($aData) | |
![]() | |
__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 | |
$_oConfig | |
$_aObjects = array() | |
![]() | |
$_sPrefix | |
![]() | |
$port | |
$socket | |
$dbname | |
$user | |
$password | |
$oParams = null | |
$oDbCacheObject = null | |
Additional Inherited Members | |
![]() | |
static | getInstance () |
![]() | |
__construct () | |
connect () | |
disconnect () | |
![]() | |
$host | |
$link | |
$oCurrentStmt | |
$iCurrentFetchStyle | |
![]() | |
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 ChShoutBoxDb.php.
ChShoutBoxDb::__construct | ( | & | $oConfig | ) |
Constructor.
Definition at line 19 of file ChShoutBoxDb.php.
ChShoutBoxDb::clearShoutboxObjectsCache | ( | ) |
Definition at line 37 of file ChShoutBoxDb.php.
ChShoutBoxDb::deleteData | ( | $aData | ) |
Definition at line 277 of file ChShoutBoxDb.php.
ChShoutBoxDb::deleteMessage | ( | $sObject, | |
$iHandler, | |||
$iMessageId | |||
) |
Delete message
$sObject | (string) - object |
$iHandler | (string) - handler |
$iMessageId | integer |
Definition at line 185 of file ChShoutBoxDb.php.
ChShoutBoxDb::deleteMessages | ( | $sObject, | |
$iHandler, | |||
$iLimit | |||
) |
Delete messages;
: | $iLimit | (integer) - limit of deleted messages; |
Definition at line 166 of file ChShoutBoxDb.php.
ChShoutBoxDb::deleteMessagesByIp | ( | $sObject, | |
$iHandler, | |||
$iIp | |||
) |
Delete messages by IP
$sObject | (string) - object |
$iHandler | (string) - handler |
$iIp | integer |
Definition at line 205 of file ChShoutBoxDb.php.
ChShoutBoxDb::deleteMessagesByProfile | ( | $iProfileId | ) |
Delete messages by profile id
$iProfileId | integer |
Definition at line 225 of file ChShoutBoxDb.php.
ChShoutBoxDb::deleteOldMessages | ( | $iLifeTime | ) |
Function will delete all oldest data;
: | $iLifeTime | (integer); |
Definition at line 240 of file ChShoutBoxDb.php.
ChShoutBoxDb::getLastMessageId | ( | $sObject, | |
$iHandler | |||
) |
Function will return last message's Id;
: | $sObject | (string) - object; |
: | $iHandler | (string) - handler; |
Definition at line 86 of file ChShoutBoxDb.php.
ChShoutBoxDb::getMessageInfo | ( | $sObject, | |
$iHandler, | |||
$iMessageId | |||
) |
get message info
$sObject | (string) object; |
$iHandler | (string) handler; |
$iMessageId | integer |
Definition at line 147 of file ChShoutBoxDb.php.
ChShoutBoxDb::getMessages | ( | $sObject, | |
$iHandler, | |||
$iLastId | |||
) |
Function will return array with messages;
: | $sObject | (string) - object; |
: | $iHandler | (string) - handler; |
iLastId (integer) - message's last id; return : array(); [OwnerID] - (integer) message owner's Id; [Message] - (string) message text; [Date] - (string) message creation data; |
Definition at line 109 of file ChShoutBoxDb.php.
ChShoutBoxDb::getMessagesCount | ( | $sObject, | |
$iHandler | |||
) |
Function will get count of all messages;
: | $sObject | (string) - object; |
: | $iHandler | (string) - handler; |
Definition at line 128 of file ChShoutBoxDb.php.
ChShoutBoxDb::getSettingsCategory | ( | $sName | ) |
Function will return number of global settings category;
Definition at line 257 of file ChShoutBoxDb.php.
ChShoutBoxDb::getShoutboxObjects | ( | ) |
Definition at line 27 of file ChShoutBoxDb.php.
ChShoutBoxDb::insertData | ( | $aData | ) |
Definition at line 262 of file ChShoutBoxDb.php.
ChShoutBoxDb::writeMessage | ( | $sObject, | |
$iHandler, | |||
$sMessage, | |||
$iOwnerId = 0 , |
|||
$iIP = 0 |
|||
) |
Function will create new message
: | $sObject | (string) - object; |
: | $iHandler | (string) - handler; |
: | $sMessage | (string) - message; |
: | $iOwnerId | (integer) - message's owner Id; |
: | $iIP | integer |
Definition at line 52 of file ChShoutBoxDb.php.
ChShoutBoxDb::$_aObjects = array() |
Definition at line 14 of file ChShoutBoxDb.php.
ChShoutBoxDb::$_oConfig |
Definition at line 12 of file ChShoutBoxDb.php.