Site logo file
API
Search
Phoca.cz Main Site
Phoca Cart
Phoca Cart Demo
Search
Search
Type 2 or more characters for results.
Advanced Search
Projects
Joomla
Phoca Cart
Phoca Gallery
Phoca Download
Classes
PhocacartAccess
PhocacartAccessRights
PhocacartAttribute
PhocacartCalculation
PhocacartCaptcha
PhocacartCaptchaRecaptcha
PhocacartCart
PhocacartCartCalculation
PhocacartCartDb
PhocacartCartRendercart
PhocacartCartRendercheckout
PhocacartCategory
PhocacartCategoryMultiple
PhocacartCompare
PhocacartCount
PhocacartCountry
PhocacartCoupon
PhocacartCurrency
PhocacartDate
PhocacartDiscountCart
PhocacartDiscountProduct
PhocacartDownload
PhocacartEdit
PhocacartEmail
PhocacartEmailFactory
PhocacartEmailMail
PhocacartFeed
PhocacartFile
PhocacartFileAdditional
PhocacartFileThumbnail
PhocacartFileUpload
PhocacartFileUploadmultiple
PhocacartFileUploadsingle
PhocacartFilter
PhocacartFormItems
PhocacartFormUser
PhocacartGroup
PhocacartHtmlBatch
PhocacartHtmlFeatured
PhocacartHtmlGrid
PhocacartHtmlJgrid
PhocacartId
PhocacartImage
PhocacartImageAdditional
PhocacartImageMagic
PhocacartLanguage
PhocacartLog
PhocacartManufacturer
PhocacartNewsletter
PhocacartOrder
PhocacartOrderCalculation
PhocacartOrdering
PhocacartOrderRender
PhocacartOrderStatus
PhocacartOrderView
PhocacartPagination
PhocacartParameter
PhocacartPath
PhocacartPayment
PhocacartPdf
PhocacartPlugin
PhocacartPos
PhocacartPosPrint
PhocacartPrice
PhocacartPriceBulkprice
PhocacartPriceHistory
PhocacartProduct
PhocacartRegion
PhocacartRelated
PhocacartRenderAdmin
PhocacartRenderAdmincolumns
PhocacartRenderAdminjs
PhocacartRenderAdminmedia
PhocacartRenderAdminview
PhocacartRenderAdminviews
PhocacartRenderFront
PhocacartRenderIcon
PhocacartRenderJs
PhocacartRenderMedia
PhocacartRenderStyle
PhocacartReview
PhocacartReward
PhocacartRoute
PhocaCartRouterrules
PhocacartSearch
PhocacartSection
PhocacartSecurity
PhocacartShipping
PhocacartSize
PhocacartSpecification
PhocacartStatistics
PhocacartStatisticsHits
PhocacartStock
PhocacartSubmit
PhocacartTag
PhocacartTax
PhocacartText
PhocacartTicket
PhocacartTime
PhocacartType
PhocacartUnit
PhocacartUser
PhocacartUserGuestuser
PhocacartUtils
PhocacartUtilsAdmindescription
PhocacartUtilsBatchhelper
PhocacartUtilsException
PhocacartUtilsExtension
PhocacartUtilsInfo
PhocacartUtilsOptions
PhocacartUtilsSettings
PhocacartVendor
PhocacartWishlist
PhocacartZone
Methods
__construct
getPriceCurrencyTitle
setPriceDecimals
setPriceDecSymbol
setPriceThousandsSep
setPriceFormat
setPricePrefix
setPriceSuffix
setCurrency
getPriceFormat
setPrefix
setSuffix
getTaxFormat
getPriceItems
getPriceItem
roundPrice
getPriceItemsShipping
getPriceItemsPayment
getCurrencyAndRateByOrder
correctMinusPrice
getPriceItemsChangedByAttributes
convertPriceDefaultToCurrentCurrency
convertPriceCurrentToDefaultCurrency
cleanPrice
You are here:
Home
Phoca Cart
PhocacartPrice
⇦
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
__construct
()
Show source code of this method:
__construct Source Code
public
getPriceCurrencyTitle
()
Show source code of this method:
getPriceCurrencyTitle Source Code
public
setPriceDecimals
(mixed
$decimals
)
Show source code of this method:
setPriceDecimals Source Code
public
setPriceDecSymbol
(mixed
$symbol
)
Show source code of this method:
setPriceDecSymbol Source Code
public
setPriceThousandsSep
(mixed
$separator
)
Show source code of this method:
setPriceThousandsSep Source Code
public
setPriceFormat
(mixed
$format
)
Show source code of this method:
setPriceFormat Source Code
public
setPricePrefix
(mixed
$prefix
)
Show source code of this method:
setPricePrefix Source Code
public
setPriceSuffix
(mixed
$suffix
)
Show source code of this method:
setPriceSuffix Source Code
public
setCurrency
(mixed
$id
=
0
, mixed
$orderId
=
0
)
Show source code of this method:
setCurrency Source Code
public
getPriceFormat
(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
setPrefix
(mixed
$prefix
)
Show source code of this method:
setPrefix Source Code
public
setSuffix
(mixed
$suffix
)
Show source code of this method:
setSuffix Source Code
public
getTaxFormat
(mixed
$tax
, mixed
$taxCalculationType
, mixed
$format
=
1
)
Show source code of this method:
getTaxFormat Source Code
public
getPriceItems
(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
getPriceItem
(mixed
$price
, mixed
$groupPrice
=
null
, mixed
$format
=
1
)
Show source code of this method:
getPriceItem Source Code
public
roundPrice
(mixed
$price
, mixed
$type
=
'price'
)
Show source code of this method:
roundPrice Source Code
public
getPriceItemsShipping
(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
getPriceItemsPayment
(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
getCurrencyAndRateByOrder
(mixed
$orderId
=
0
)
Show source code of this method:
getCurrencyAndRateByOrder Source Code
public
correctMinusPrice
(mixed
&$price
)
Show source code of this method:
correctMinusPrice Source Code
public
getPriceItemsChangedByAttributes
(mixed
&$priceP
, mixed
$attributes
, mixed
$price
, mixed
&$item
, mixed
$ajax
=
0
)
Show source code of this method:
getPriceItemsChangedByAttributes Source Code
public static
convertPriceDefaultToCurrentCurrency
(mixed
$price
, mixed
$rate
=
1
)
Show source code of this method:
convertPriceDefaultToCurrentCurrency Source Code
public static
convertPriceCurrentToDefaultCurrency
(mixed
$price
, mixed
$rate
=
1
)
Show source code of this method:
convertPriceCurrentToDefaultCurrency Source Code
public static
cleanPrice
(mixed
$price
)
Show source code of this method:
cleanPrice Source Code