UNA
|
Public Member Functions | |
isPaymentProvider ($iVendorId, $sVendorProvider, $sPaymentType='') | |
getPaymentProvider ($iVendorId, $sVendorProvider, $sPaymentType='') | |
getCartJs ($sType='', $iVendorId=0) | |
addToCart ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $aCustom=array()) | |
getAddToCartJs ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $aCustom=array()) | |
getAddToCartLink ($iVendorId, $mixedModuleId, $iItemId, $iItemCount, $bNeedRedirect=false, $aCustom=array()) | |
subscribeWithAddons ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sItemAddons='', $sRedirect='', $aCustom=array()) | |
getSubscribeJs ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sRedirect='', $aCustom=array()) | |
getSubscribeJsWithAddons ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sItemAddons='', $sRedirect='', $aCustom=array()) | |
getSubscribeLink ($iVendorId, $sVendorProvider, $mixedModuleId, $iItemId, $iItemCount=1, $sRedirect='', $aCustom=array()) | |
BxDolPayments::addToCart | ( | $iVendorId, | |
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount, | |||
$aCustom = array() |
|||
) |
Adds an item to cart in background mode.
BxDolPayments::getAddToCartJs | ( | $iVendorId, | |
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount, | |||
$bNeedRedirect = false , |
|||
$aCustom = array() |
|||
) |
Returns "Add To Cart" JavaScript code to use in onclick attribute.
BxDolPayments::getAddToCartLink | ( | $iVendorId, | |
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount, | |||
$bNeedRedirect = false , |
|||
$aCustom = array() |
|||
) |
Returns the whole "Add To Cart" link including HTML tag BUTTON and cart JavaScript code.
BxDolPayments::getCartJs | ( | $sType = '' , |
|
$iVendorId = 0 |
|||
) |
Returns cart JavaScript code which should be included in the page to make "Add To Cart" and "Subscribe" buttons work properly.
BxDolPayments::getPaymentProvider | ( | $iVendorId, | |
$sVendorProvider, | |||
$sPaymentType = '' |
|||
) |
BxDolPayments::getSubscribeJs | ( | $iVendorId, | |
$sVendorProvider, | |||
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount = 1 , |
|||
$sRedirect = '' , |
|||
$aCustom = array() |
|||
) |
Returns "Subscribe" JavaScript code to use in onclick attribute.
BxDolPayments::getSubscribeJsWithAddons | ( | $iVendorId, | |
$sVendorProvider, | |||
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount = 1 , |
|||
$sItemAddons = '' , |
|||
$sRedirect = '' , |
|||
$aCustom = array() |
|||
) |
Returns "Subscribe" JavaScript code to use in onclick attribute.
BxDolPayments::getSubscribeLink | ( | $iVendorId, | |
$sVendorProvider, | |||
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount = 1 , |
|||
$sRedirect = '' , |
|||
$aCustom = array() |
|||
) |
Returns the whole "Subscribe" link including HTML tag BUTTON and cart JavaScript code.
BxDolPayments::isPaymentProvider | ( | $iVendorId, | |
$sVendorProvider, | |||
$sPaymentType = '' |
|||
) |
BxDolPayments::subscribeWithAddons | ( | $iVendorId, | |
$sVendorProvider, | |||
$mixedModuleId, | |||
$iItemId, | |||
$iItemCount = 1 , |
|||
$sItemAddons = '' , |
|||
$sRedirect = '' , |
|||
$aCustom = array() |
|||
) |
Subscribe an item in background mode.