Merge pull request #5132 from colemanw/css
[civicrm-core.git] / CRM / Utils / Money.php
index 328aa230b2434385df572e1d2d4d949d748e4624..22d5551dd78c4d36f810542a661ec67454f0c542 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -40,7 +40,7 @@ class CRM_Utils_Money {
   static $_currencySymbols = NULL;
 
   /**
-   * Format a monetary string
+   * Format a monetary string.
    *
    * Format a monetary string basing on the amount provided,
    * ISO currency code provided and a format string consisting of:
@@ -62,7 +62,6 @@ class CRM_Utils_Money {
    * @return string
    *   formatted monetary string
    *
-   * @static
    */
   public static function format($amount, $currency = NULL, $format = NULL, $onlyNumber = FALSE, $valueFormat = NULL) {
 
@@ -91,7 +90,7 @@ class CRM_Utils_Money {
     if (!self::$_currencySymbols) {
       self::$_currencySymbols = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency', array(
           'keyColumn' => 'name',
-          'labelColumn' => 'symbol'
+          'labelColumn' => 'symbol',
         ));
     }
 
@@ -127,4 +126,5 @@ class CRM_Utils_Money {
     );
     return strtr($format, $replacements);
   }
+
 }