Symfony\Component\Icu\IcuCurrencyBundle
An ICU-specific implementation of {@link \Symfony\Component\Intl\ResourceBundle\CurrencyBundleInterface}.
This class normalizes the data of the ICU .res files to satisfy the contract
defined in .
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class IcuCurrencyBundle
extends CurrencyBundle
{
- // constants
- const INDEX_SYMBOL = 0;
- const INDEX_NAME = 1;
- const INDEX_FRACTION_DIGITS = 0;
- const INDEX_ROUNDING_INCREMENT = 1;
- // Inherited constants from CurrencyBundle
- const INDEX_NAME = 0;
- const INDEX_SYMBOL = 1;
- const INDEX_FRACTION_DIGITS = 2;
- const INDEX_ROUNDING_INCREMENT = 3;
- // methods
- public void __construct()
- public void getCurrencyNames()
- public void getFractionDigits()
- public void getRoundingIncrement()
- // Inherited methods from CurrencyBundle
- public void getCurrencySymbol()
- public void getCurrencyName()
- public void getCurrencyNames()
- public void getFractionDigits()
- public void getRoundingIncrement()
- // Inherited methods from AbstractBundle
- public void __construct()
- public void getLocales()
- protected void read()
- protected void readEntry()
Hierarchy
Constants
Name | Value |
---|---|
INDEX_SYMBOL | 0 |
INDEX_NAME | 1 |
INDEX_FRACTION_DIGITS | 0 |
INDEX_ROUNDING_INCREMENT | 1 |
INDEX_NAME | 0 |
INDEX_SYMBOL | 1 |
INDEX_FRACTION_DIGITS | 2 |
INDEX_ROUNDING_INCREMENT | 3 |
Methods
public
- __construct()
- getCurrencyNames() — {@inheritdoc}
- getFractionDigits() — {@inheritdoc}
- getRoundingIncrement() — {@inheritdoc}
Inherited from Symfony\Component\Intl\ResourceBundle\CurrencyBundle
public
- getCurrencyName() — {@inheritdoc}
- getCurrencyNames() — {@inheritdoc}
- getCurrencySymbol() — {@inheritdoc}
- getFractionDigits() — {@inheritdoc}
- getRoundingIncrement() — {@inheritdoc}
Inherited from Symfony\Component\Intl\ResourceBundle\AbstractBundle
protected
- read() — Proxy method for {@link StructuredBundleReaderInterface#read}.
- readEntry() — Proxy method for {@link StructuredBundleReaderInterface#readEntry}.
public
- getLocales() — {@inheritdoc}