kernel/shop/classes/ezcurrencyconverter.php

Show: inherited
Table of Contents

File containing the eZCurrencyConverter class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\eZCurrencyConverter

Package: kernel

File containing the eZCurrencyConverter class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  ROUNDING_TYPE_NONE = 1
Constant  ROUNDING_TYPE_ROUND = 2
Constant  ROUNDING_TYPE_CEIL = 3
Constant  ROUNDING_TYPE_FLOOR = 4

Properties

Propertypublic  $CurrencyList= ''
Details
Type
n/a
Propertypublic  $MathHandler= ''
Details
Type
n/a
Propertypublic  $RoundingPrecision= ''
Details
Type
n/a
Propertypublic  $RoundingTarget= ''
Details
Type
n/a
Propertypublic  $RoundingType= ''
Details
Type
n/a

Methods

methodpublicconvert(  $fromCurrency,  $toCurrency,  $value,  $applyRounding = true ) : void

Parameters
Name Type Description
$fromCurrency
$toCurrency
$value
$applyRounding
methodpublicconvertFromLocaleCurrency(  $toCurrency,  $value,  $applyRounding = true ) : void

Parameters
Name Type Description
$toCurrency
$value
$applyRounding
methodpubliccrossRate(  $fromCurrency,  $toCurrency ) : void

Parameters
Name Type Description
$fromCurrency
$toCurrency
methodpubliccurrencyList( ) : void

methodpubliceZCurrencyConverter( ) : void

methodpublicinstance( ) : \eZCurrencyConverter
static

Returns a shared instance of the eZCurrencyConverter class.

Returns
Type Description
\eZCurrencyConverter
methodpublicmathHandler( ) : void

methodpublicrateValue(  $currencyCode ) : void

Parameters
Name Type Description
$currencyCode
methodpublicroundingPrecision( ) : void

methodpublicroundingTarget( ) : void

methodpublicroundingType( ) : void

methodpublicsetMathHandler(  $handler ) : void

Parameters
Name Type Description
$handler
methodpublicsetRoundingPrecision(  $precision ) : void

Parameters
Name Type Description
$precision
methodpublicsetRoundingTarget(  $target ) : void

Parameters
Name Type Description
$target
methodpublicsetRoundingType(  $type ) : void

Parameters
Name Type Description
$type
Documentation was generated by DocBlox 0.18.1.