Zend_Currency-Introduction.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.currency.introduction">
  4. <title>Introduction to Zend_Currency</title>
  5. <para>
  6. <classname>Zend_Currency</classname> is part of the strong support for i18n in Zend Framework. It handles all issues
  7. related to currency, money representation and formatting. It also provides additional
  8. methods which provide localized information on currencies, such as which currency is used
  9. in which region.
  10. </para>
  11. <sect2 id="zend.currency.introduction.list">
  12. <title>Why use Zend_Currency?</title>
  13. <para>
  14. <classname>Zend_Currency</classname> offers the following functions for handling currency manipulations.
  15. </para>
  16. <itemizedlist mark='opencircle'>
  17. <listitem>
  18. <para>
  19. <emphasis role="strong">Complete Locale support</emphasis>
  20. </para>
  21. <para>
  22. <classname>Zend_Currency</classname> works with all available locales and therefore knows about over 100 different localized currencies. This includes
  23. currency names, abbreviations, money signs and more.
  24. </para>
  25. </listitem>
  26. <listitem>
  27. <para>
  28. <emphasis role="strong">Reusable Currency Definitions</emphasis>
  29. </para>
  30. <para>
  31. <classname>Zend_Currency</classname> does not include the value of the currency. This is the reason why
  32. its functionality is not included in <classname>Zend_Locale_Format</classname>. <classname>Zend_Currency</classname> has the
  33. advantage that already defined currency representations can be reused.
  34. </para>
  35. </listitem>
  36. <listitem>
  37. <para>
  38. <emphasis role="strong">Fluent Interface</emphasis>
  39. </para>
  40. <para>
  41. <classname>Zend_Currency</classname> includes fluent interfaces where possible.
  42. </para>
  43. </listitem>
  44. <listitem>
  45. <para>
  46. <emphasis role="strong">Additional Methods</emphasis>
  47. </para>
  48. <para>
  49. <classname>Zend_Currency</classname> includes additional methods that offer information about
  50. which regions a currency is used in or which currency is used in a specified region.
  51. </para>
  52. </listitem>
  53. </itemizedlist>
  54. </sect2>
  55. </sect1>