Site logo file
API
Search
Phoca.cz Main Site
Phoca Cart
Phoca Cart Demo
Search
Search
Advanced Search
Methods
__construct
setType
calculateBasicProducts
calculateRewardDiscounts
calculateProductDiscounts
calculateCartDiscounts
recalculateCartDiscounts
calculateCartCoupons
recalculateCartCoupons
correctSubTotal
roundFixedAmountDiscount
roundFixedAmountCoupon
correctTotalItems
roundTotalAmount
taxRecapitulation
calculateShipping
calculatePayment
You are here:
Home
Phoca Cart
PhocacartCartCalculation
setType
⇦
Back to PhocacartCartCalculation class
Method setType
public
setType
(mixed
$type
=
array(0, 1)
)
Class:
PhocacartCartCalculation
Project:
Phoca Cart
Method setType - Source code
public function setType($type = array(0, 1)) { $this->type = $type; }