Back to Phoca Cart project (class list)

Class PhocacartPrice - list of methods

Copyright: Copyright (C) Jan Pavelka https://www.phoca.cz
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
Located at: Phocacart/price/price.php
Project: Phoca Cart

Method Summary

public
()

Show source code of this method: __construct Source Code

public
()

Show source code of this method: getPriceCurrencyTitle Source Code

public
(mixed $decimals)

Show source code of this method: setPriceDecimals Source Code

public
(mixed $symbol)

Show source code of this method: setPriceDecSymbol Source Code

public
(mixed $separator)

Show source code of this method: setPriceThousandsSep Source Code

public
(mixed $format)

Show source code of this method: setPriceFormat Source Code

public
(mixed $prefix)

Show source code of this method: setPricePrefix Source Code

public
(mixed $suffix)

Show source code of this method: setPriceSuffix Source Code

public
(mixed $id = 0, mixed $orderId = 0)

Show source code of this method: setCurrency Source Code

public
(mixed $price, mixed $negative = 0, mixed $skipCurrencyConverting = 0, mixed $forceCurrency = 0, mixed $skipPrefix = 0, mixed $skipSuffix = 0)

Show source code of this method: getPriceFormat Source Code

public
(mixed $prefix)

Show source code of this method: setPrefix Source Code

public
(mixed $suffix)

Show source code of this method: setSuffix Source Code

public
(mixed $tax, mixed $taxCalculationType, mixed $format = 1)

Show source code of this method: getTaxFormat Source Code

public
(mixed $price, mixed $taxId, mixed $tax, mixed $taxCalculationType, mixed $taxTitle = '', mixed $baseAmount = 0, mixed $baseUnit = '', mixed $zeroPrice = 0, mixed $round = 1, mixed $groupPrice = null)

Show source code of this method: getPriceItems Source Code

public
(mixed $price, mixed $groupPrice = null, mixed $format = 1)

Show source code of this method: getPriceItem Source Code

public
(mixed $price, mixed $type = 'price')

Show source code of this method: roundPrice Source Code

public
(mixed $price, mixed $priceAdditional, mixed $calculationType, mixed $total, mixed $taxId, mixed $tax, mixed $taxCalculationType, mixed $taxTitle = '', mixed $freeShipping = 0, mixed $round = 1, mixed $langPrefix = 'SHIPPING_')

Show source code of this method: getPriceItemsShipping Source Code

public
(mixed $price, mixed $priceAdditional, mixed $calculationType, mixed $total, mixed $taxId, mixed $tax, mixed $taxCalculationType, mixed $taxTitle = '', mixed $freePayment = 0, mixed $round = 1, mixed $langPrefix = 'PAYMENT_')

Show source code of this method: getPriceItemsPayment Source Code

public static
(mixed $orderId = 0)

Show source code of this method: getCurrencyAndRateByOrder Source Code

public
(mixed &$price)

Show source code of this method: correctMinusPrice Source Code

public
(mixed &$priceP, mixed $attributes, mixed $price, mixed &$item, mixed $ajax = 0)

Show source code of this method: getPriceItemsChangedByAttributes Source Code

public static
(mixed $price, mixed $rate = 1)

Show source code of this method: convertPriceDefaultToCurrentCurrency Source Code

public static
(mixed $price, mixed $rate = 1)

Show source code of this method: convertPriceCurrentToDefaultCurrency Source Code

public static
(mixed $price)

Show source code of this method: cleanPrice Source Code