|
Cheetah
|
Public Member Functions | |
| __construct (&$oConfig) | |
| insertData ($aData) | |
| deleteData ($aData) | |
| getForm () | |
| getFormData ($iUserId) | |
| updateOption ($iUserId, $iOptionId, $sValue) | |
| getCartItems ($iId) | |
| setCartItems ($iId, $sItems) | |
| getVendorId ($sUsername) | |
| getVendorInfoProfile ($iId) | |
| getVendorInfoProviders ($iId, $sProvider='') | |
| getFirstAdminId () | |
| getAdminsIds () | |
| getProviders ($sName='') | |
| getOptions ($iUserId=CH_PMT_EMPTY_ID, $iProviderId=0) | |
| getPending ($aParams) | |
| insertPending ($iClientId, $sProviderName, $aCartInfo) | |
| updatePending ($iId, $aValues) | |
| insertTransaction ($aInfo) | |
| updateTransaction ($iId, $aValues) | |
| getProcessed ($aParams) | |
| getHistory ($aParams) | |
| userExists ($sName) | |
| getModules () | |
| getPendingOrders ($aParams) | |
| getPendingOrdersCount ($aParams) | |
| getProcessedOrders ($aParams) | |
| getProcessedOrdersCount ($aParams) | |
| getHistoryOrders ($aParams) | |
| getHistoryOrdersCount ($aParams) | |
| reportPendingOrders ($aOrders) | |
| reportProcessedOrders ($aOrders) | |
| cancelPendingOrders ($aOrders) | |
| cancelProcessedOrders ($aOrders) | |
| onProfileDelete ($iId) | |
Public Member Functions inherited from ChWsbModuleDb | |
| __construct ($oConfig=null) | |
| getPrefix () | |
| getModulesBy ($aParams=array()) | |
| getModuleById ($iId) | |
| getModuleByUri ($sUri) | |
| isModule ($sUri) | |
| isModuleParamsUsed ($sUri, $sPath, $sPrefixDb, $sPrefixClass) | |
| 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 | |
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 10 of file ChPmtDb.php.
| ChPmtDb::__construct | ( | & | $oConfig | ) |
Definition at line 16 of file ChPmtDb.php.
| ChPmtDb::cancelPendingOrders | ( | $aOrders | ) |
Definition at line 519 of file ChPmtDb.php.
| ChPmtDb::cancelProcessedOrders | ( | $aOrders | ) |
Definition at line 524 of file ChPmtDb.php.
| ChPmtDb::deleteData | ( | $aData | ) |
Definition at line 28 of file ChPmtDb.php.
| ChPmtDb::getAdminsIds | ( | ) |
Definition at line 171 of file ChPmtDb.php.
| ChPmtDb::getCartItems | ( | $iId | ) |
Shopping cart methods.
Definition at line 78 of file ChPmtDb.php.
| ChPmtDb::getFirstAdminId | ( | ) |
Definition at line 167 of file ChPmtDb.php.
| ChPmtDb::getForm | ( | ) |
Payment details methods
Definition at line 36 of file ChPmtDb.php.
| ChPmtDb::getFormData | ( | $iUserId | ) |
Definition at line 59 of file ChPmtDb.php.
| ChPmtDb::getHistory | ( | $aParams | ) |
Definition at line 343 of file ChPmtDb.php.
| ChPmtDb::getHistoryOrders | ( | $aParams | ) |
Definition at line 463 of file ChPmtDb.php.
| ChPmtDb::getHistoryOrdersCount | ( | $aParams | ) |
Definition at line 491 of file ChPmtDb.php.
| ChPmtDb::getModules | ( | ) |
Reimplemented from ChWsbModuleDb.
Definition at line 353 of file ChPmtDb.php.
| ChPmtDb::getOptions | ( | $iUserId = CH_PMT_EMPTY_ID, |
|
$iProviderId = 0 |
|||
| ) |
Definition at line 201 of file ChPmtDb.php.
| ChPmtDb::getPending | ( | $aParams | ) |
Definition at line 224 of file ChPmtDb.php.
| ChPmtDb::getPendingOrders | ( | $aParams | ) |
Definition at line 365 of file ChPmtDb.php.
| ChPmtDb::getPendingOrdersCount | ( | $aParams | ) |
Definition at line 401 of file ChPmtDb.php.
| ChPmtDb::getProcessed | ( | $aParams | ) |
Definition at line 303 of file ChPmtDb.php.
| ChPmtDb::getProcessedOrders | ( | $aParams | ) |
Definition at line 417 of file ChPmtDb.php.
| ChPmtDb::getProcessedOrdersCount | ( | $aParams | ) |
Definition at line 445 of file ChPmtDb.php.
| ChPmtDb::getProviders | ( | $sName = '' | ) |
Process payment methods
Definition at line 179 of file ChPmtDb.php.
| ChPmtDb::getVendorId | ( | $sUsername | ) |
Definition at line 92 of file ChPmtDb.php.
| ChPmtDb::getVendorInfoProfile | ( | $iId | ) |
Definition at line 99 of file ChPmtDb.php.
| ChPmtDb::getVendorInfoProviders | ( | $iId, | |
$sProvider = '' |
|||
| ) |
Definition at line 137 of file ChPmtDb.php.
| ChPmtDb::insertData | ( | $aData | ) |
Definition at line 23 of file ChPmtDb.php.
| ChPmtDb::insertPending | ( | $iClientId, | |
| $sProviderName, | |||
| $aCartInfo | |||
| ) |
Definition at line 256 of file ChPmtDb.php.
| ChPmtDb::insertTransaction | ( | $aInfo | ) |
Definition at line 283 of file ChPmtDb.php.
| ChPmtDb::onProfileDelete | ( | $iId | ) |
Definition at line 529 of file ChPmtDb.php.
| ChPmtDb::reportPendingOrders | ( | $aOrders | ) |
Definition at line 509 of file ChPmtDb.php.
| ChPmtDb::reportProcessedOrders | ( | $aOrders | ) |
Definition at line 514 of file ChPmtDb.php.
| ChPmtDb::setCartItems | ( | $iId, | |
| $sItems | |||
| ) |
Definition at line 82 of file ChPmtDb.php.
| ChPmtDb::updateOption | ( | $iUserId, | |
| $iOptionId, | |||
| $sValue | |||
| ) |
Definition at line 69 of file ChPmtDb.php.
| ChPmtDb::updatePending | ( | $iId, | |
| $aValues | |||
| ) |
Definition at line 272 of file ChPmtDb.php.
| ChPmtDb::updateTransaction | ( | $iId, | |
| $aValues | |||
| ) |
Definition at line 291 of file ChPmtDb.php.
| ChPmtDb::userExists | ( | $sName | ) |
Definition at line 348 of file ChPmtDb.php.
| ChPmtDb::$_oConfig |
Definition at line 12 of file ChPmtDb.php.