|
| __construct (&$oDb, &$oConfig, &$oTemplate) |
|
| getHistoryBlock ($iUserId, $iSellerId) |
|
| getCartJs ($bWrapped=true) |
|
| getAddToCartJs ($iVendorId, $iModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $bWrapped=true) |
|
| getAddToCartLink ($iVendorId, $iModuleId, $iItemId, $iItemCount, $bNeedRedirect=false) |
|
| addToCart ($iClientId, $iVendorId, $iModuleId, $iItemId, $iItemCount) |
|
| deleteFromCart ($iClientId, $iVendorId, $iModuleId=0, $iItemId=0) |
|
| getInfo ($iUserId, $iVendorId=CH_PMT_EMPTY_ID, $aItems=array()) |
|
| getDescriptor ($iVendorId, $iModuleId, $iItemId, $iItemCount) |
|
| updateInfo ($mixedPending) |
|
| parseByVendor ($iUserId) |
|
| parseByModule ($iUserId) |
|
| _reparseBy ($aItems, $sKey) |
|
| _getInfo ($iClientId, $iVendorId, $aItems) |
|
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 8 of file ChPmtCart.php.
◆ __construct()
ChPmtCart::__construct |
( |
& |
$oDb, |
|
|
& |
$oConfig, |
|
|
& |
$oTemplate |
|
) |
| |
◆ _getInfo()
ChPmtCart::_getInfo |
( |
|
$iClientId, |
|
|
|
$iVendorId, |
|
|
|
$aItems |
|
) |
| |
Enter description here...
- Parameters
-
integer | $iClientId | client's ID |
integer | $iVendorId | vendor's ID |
array | $aItems | item descriptors(quaternions) from shopping cart. |
- Returns
- array with full info about vendor and items.
Definition at line 180 of file ChPmtCart.php.
◆ _reparseBy()
ChPmtCart::_reparseBy |
( |
|
$aItems, |
|
|
|
$sKey |
|
) |
| |
◆ addToCart()
ChPmtCart::addToCart |
( |
|
$iClientId, |
|
|
|
$iVendorId, |
|
|
|
$iModuleId, |
|
|
|
$iItemId, |
|
|
|
$iItemCount |
|
) |
| |
◆ deleteFromCart()
ChPmtCart::deleteFromCart |
( |
|
$iClientId, |
|
|
|
$iVendorId, |
|
|
|
$iModuleId = 0 , |
|
|
|
$iItemId = 0 |
|
) |
| |
◆ getAddToCartJs()
ChPmtCart::getAddToCartJs |
( |
|
$iVendorId, |
|
|
|
$iModuleId, |
|
|
|
$iItemId, |
|
|
|
$iItemCount, |
|
|
|
$bNeedRedirect = false , |
|
|
|
$bWrapped = true |
|
) |
| |
◆ getAddToCartLink()
ChPmtCart::getAddToCartLink |
( |
|
$iVendorId, |
|
|
|
$iModuleId, |
|
|
|
$iItemId, |
|
|
|
$iItemCount, |
|
|
|
$bNeedRedirect = false |
|
) |
| |
◆ getCartJs()
ChPmtCart::getCartJs |
( |
|
$bWrapped = true | ) |
|
◆ getDescriptor()
ChPmtCart::getDescriptor |
( |
|
$iVendorId, |
|
|
|
$iModuleId, |
|
|
|
$iItemId, |
|
|
|
$iItemCount |
|
) |
| |
◆ getHistoryBlock()
ChPmtCart::getHistoryBlock |
( |
|
$iUserId, |
|
|
|
$iSellerId |
|
) |
| |
◆ getInfo()
ChPmtCart::getInfo |
( |
|
$iUserId, |
|
|
|
$iVendorId = CH_PMT_EMPTY_ID , |
|
|
|
$aItems = array() |
|
) |
| |
◆ items2array()
static ChPmtCart::items2array |
( |
|
$mixed | ) |
|
|
static |
Static method. Conver items to array with necessary structure.
- Parameters
-
string/array | $mixed - string with cart items divided with (:) or an array of cart items. |
- Returns
- array with items.
Definition at line 218 of file ChPmtCart.php.
◆ parseByModule()
ChPmtCart::parseByModule |
( |
|
$iUserId | ) |
|
◆ parseByVendor()
ChPmtCart::parseByVendor |
( |
|
$iUserId | ) |
|
◆ updateInfo()
ChPmtCart::updateInfo |
( |
|
$mixedPending | ) |
|
◆ $_oConfig
◆ $_oDb
◆ $_oTemplate
◆ $_sLangsPrefix
ChPmtCart::$_sLangsPrefix |
◆ $DESCRIPTOR_DIVIDER
ChPmtCart::$DESCRIPTOR_DIVIDER = '_' |
|
static |
The documentation for this class was generated from the following file: